Initial work on implementing Pokemon
This commit is contained in:
16
PkmnLib.Dynamic/Events/FaintEvent.cs
Normal file
16
PkmnLib.Dynamic/Events/FaintEvent.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
using PkmnLib.Dynamic.Models;
|
||||
|
||||
namespace PkmnLib.Dynamic.Events;
|
||||
|
||||
public class FaintEvent : IEventData
|
||||
{
|
||||
public FaintEvent(IPokemon pokemon)
|
||||
{
|
||||
Pokemon = pokemon;
|
||||
}
|
||||
|
||||
public IPokemon Pokemon { get; init; }
|
||||
|
||||
/// <inheritdoc />
|
||||
public EventBatchId BatchId { get; init; } = new();
|
||||
}
|
||||
Reference in New Issue
Block a user