17 lines
453 B
C#
17 lines
453 B
C#
|
using System;
|
||
|
|
||
|
namespace PkmnLibSharp.Battling.ChoiceTurn
|
||
|
{
|
||
|
public class SwitchTurnChoice : BaseTurnChoice
|
||
|
{
|
||
|
public SwitchTurnChoice(Pokemon user, Pokemon newPokemon) : base(
|
||
|
Creaturelibbattling.Generated.SwitchTurnChoice.Construct(user.Ptr, newPokemon.Ptr))
|
||
|
{
|
||
|
}
|
||
|
|
||
|
protected override void DeletePtr()
|
||
|
{
|
||
|
Creaturelibbattling.Generated.SwitchTurnChoice.Destruct(Ptr);
|
||
|
}
|
||
|
}
|
||
|
}
|