bool IPlayerController.Switch(SimPokemon withdraw, Pokemon sendout) { sendCommand(new InputCommand(ActionInput.SwitchPokemonAction(withdraw, sendout))); return true; }
public static ActionInput SwitchPokemonAction(SimPokemon withdraw, Pokemon sendout) { return new ActionInput(withdraw.SwitchId) { SendoutId = sendout.Id }; }
bool IPlayerController.Struggle(SimPokemon pm) { sendCommand(new InputCommand(ActionInput.Struggle(pm))); return true; }
public static ActionInput Struggle(SimPokemon pm) { return new ActionInput(pm.StruggleId); }