コード例 #1
0
ファイル: BattleState.cs プロジェクト: yangxun983323204/loh
    private void ExitRound()
    {
        CurrentActor = null;
        var evt = new Evt_InRound()
        {
            Current = CurrentActor
        };

        EventManager.Instance.QueueEvent(evt);
    }
コード例 #2
0
ファイル: BattleState.cs プロジェクト: yangxun983323204/loh
    private void NextRound()
    {
        if (CurrentActor != null)
        {
            CurrentActor = GetAnother(CurrentActor);
        }
        else
        {
            CurrentActor = Player;
        }

        CurrentActor.Play.Take(2);
        var evt = new Evt_InRound()
        {
            Current = CurrentActor
        };

        EventManager.Instance.QueueEvent(evt);
    }