Initial work on implementing Pokemon
This commit is contained in:
21
PkmnLib.Dynamic/Events/HealEvent.cs
Normal file
21
PkmnLib.Dynamic/Events/HealEvent.cs
Normal 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();
|
||||
}
|
||||
Reference in New Issue
Block a user