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