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