Esempio n. 1
0
        private void SetNewCharacter(WaitForCharState state, ClientIdentifier id, Pokemon pokemon = null){
            if(pokemon == null)
                pokemon = TestFactory.CreatePokemon();

            state.SetCharacter(id, pokemon);
        }
Esempio n. 2
0
 public BattleStateComponent(BattleData data, WaitForActionState actionState, WaitForCharState characterSetState, ExecuteState executionState, IEventCreator eventCreator) :
     this(data, (IBattleState)actionState, characterSetState, executionState, eventCreator) { }
Esempio n. 3
0
 private void SetNewAICharacter(WaitForCharState state, Pokemon pokemon = null)
 {
     SetNewCharacter(state, factory.AIID, pokemon);
 }