Lots more work on implementing battling
This commit is contained in:
@@ -2,13 +2,20 @@ using PkmnLib.Dynamic.Models;
|
||||
|
||||
namespace PkmnLib.Dynamic.Events;
|
||||
|
||||
/// <summary>
|
||||
/// Event triggered when a Pokemon faints.
|
||||
/// </summary>
|
||||
public class FaintEvent : IEventData
|
||||
{
|
||||
/// <inheritdoc cref="FaintEvent"/>
|
||||
public FaintEvent(IPokemon pokemon)
|
||||
{
|
||||
Pokemon = pokemon;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// The Pokemon that fainted.
|
||||
/// </summary>
|
||||
public IPokemon Pokemon { get; init; }
|
||||
|
||||
/// <inheritdoc />
|
||||
|
||||
Reference in New Issue
Block a user