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

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