コード例 #1
0
ファイル: ActionQueue.cs プロジェクト: DaedalusGame/7DRL_2020
        public virtual Wait EndTurn()
        {
            Wait wait = TurnTaker.EndTurn(this);

            for (int i = 0; i < TurnTaker.ExtraTurns; i++)
            {
                Queue.AddImmediate(new Turn(this, TurnTaker));
            }
            TurnTaker.ExtraTurns = 0;
            Phase = TurnPhase.Delete;
            return(wait);
        }
コード例 #2
0
ファイル: ActionQueue.cs プロジェクト: DaedalusGame/7DRL_2020
 public void AddImmediate(Turn parent)
 {
     Queue.AddImmediate(new Turn(parent, this));
 }