using PkmnLib.Dynamic.Models;
using PkmnLib.Static.Species;
namespace PkmnLib.Dynamic.Events;
///
/// Represents an event that occurs when a Pokémon changes its form.
///
public class FormChangeEvent : IEventData
{
///
/// The Pokémon that changed its form.
///
public IPokemon Pokemon { get; }
///
/// The new form of the Pokémon.
///
public IForm Form { get; }
///
public FormChangeEvent(IPokemon pokemon, IForm form)
{
Pokemon = pokemon;
Form = form;
}
///
public EventBatchId BatchId { get; init; }
}