Example #1
0
File: Player.cs Project: sunoru/PBO
 bool IPlayerController.Switch(SimPokemon withdraw, Pokemon sendout)
 {
     sendCommand(new InputCommand(ActionInput.SwitchPokemonAction(withdraw, sendout)));
       return true;
 }
Example #2
0
 public static ActionInput SwitchPokemonAction(SimPokemon withdraw, Pokemon sendout)
 {
     return new ActionInput(withdraw.SwitchId) { SendoutId = sendout.Id };
 }
Example #3
0
File: Player.cs Project: sunoru/PBO
 bool IPlayerController.Struggle(SimPokemon pm)
 {
     sendCommand(new InputCommand(ActionInput.Struggle(pm)));
       return true;
 }
Example #4
0
 public static ActionInput Struggle(SimPokemon pm)
 {
     return new ActionInput(pm.StruggleId);
 }