2021-04-23 08:53:50 +00:00
|
|
|
using System;
|
|
|
|
|
2020-07-26 12:47:56 +00:00
|
|
|
namespace PkmnLibSharp.Battling.ChoiceTurn
|
|
|
|
{
|
|
|
|
public class SwitchTurnChoice : BaseTurnChoice
|
|
|
|
{
|
|
|
|
public SwitchTurnChoice(Pokemon user, Pokemon newPokemon) : base(
|
2020-07-31 12:19:21 +00:00
|
|
|
Creaturelib.Generated.SwitchTurnChoice.Construct(user.Ptr, newPokemon.Ptr))
|
2020-07-26 12:47:56 +00:00
|
|
|
{
|
|
|
|
}
|
2021-04-23 08:53:50 +00:00
|
|
|
|
|
|
|
internal SwitchTurnChoice(IntPtr ptr) : base(ptr){}
|
|
|
|
|
2020-07-26 12:47:56 +00:00
|
|
|
|
|
|
|
protected override void DeletePtr()
|
|
|
|
{
|
2020-07-31 12:19:21 +00:00
|
|
|
Creaturelib.Generated.SwitchTurnChoice.Destruct(Ptr);
|
2020-07-26 12:47:56 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|