Initial work on implementing Pokemon

This commit is contained in:
Deukhoofd committed 2024-07-28 14:00:26 +02:00
1 parent 3d5fb1a818
commit 554e1cf2cd
15 files changed
+603 -30

No files matched your search

+21
View File
@@ -0,0 +1,21 @@
using PkmnLib.Dynamic.Models;
namespace PkmnLib.Dynamic.Events;
public class HealEvent : IEventData
{
public HealEvent(IPokemon pokemon, uint previousHealth, uint newHealth)
{
Pokemon = pokemon;
PreviousHealth = previousHealth;
NewHealth = newHealth;
}
public IPokemon Pokemon { get; }
public uint PreviousHealth { get; }
public uint NewHealth { get; }
/// <inheritdoc />
public EventBatchId BatchId { get; init; } = new();
}