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