예제 #1
0
    public void StartBattleSequence(PocketMonsterParty player = null, PocketMonsterParty enemy = null)
    {
        PostBattleStart();

        var battleArgs = new BattleStateArgs(player, enemy);

        initialState.EnterState(battleArgs);
    }
예제 #2
0
    public virtual void ExitState()
    {
        UnRegisterEvents();

        nextState.EnterState(battleStateArgs);
    }