private void SetNewCharacter(WaitForCharState state, ClientIdentifier id, Pokemon pokemon = null){ if(pokemon == null) pokemon = TestFactory.CreatePokemon(); state.SetCharacter(id, pokemon); }
public BattleStateComponent(BattleData data, WaitForActionState actionState, WaitForCharState characterSetState, ExecuteState executionState, IEventCreator eventCreator) : this(data, (IBattleState)actionState, characterSetState, executionState, eventCreator) { }
private void SetNewAICharacter(WaitForCharState state, Pokemon pokemon = null) { SetNewCharacter(state, factory.AIID, pokemon); }