PkmnLibSharp/PkmnLibSharp/Battling/ChoiceTurn/SwitchTurnChoice.cs

15 lines
422 B
C#
Raw Normal View History

2020-07-26 12:47:56 +00:00
namespace PkmnLibSharp.Battling.ChoiceTurn
{
public class SwitchTurnChoice : BaseTurnChoice
{
public SwitchTurnChoice(Pokemon user, Pokemon newPokemon) : base(
Creaturelib.Generated.SwitchTurnChoice.Construct(user.Ptr, newPokemon.Ptr))
2020-07-26 12:47:56 +00:00
{
}
protected override void DeletePtr()
{
Creaturelib.Generated.SwitchTurnChoice.Destruct(Ptr);
2020-07-26 12:47:56 +00:00
}
}
}