Exemplo n.º 1
0
        /// <summary>
        /// 行動できるプレイヤーを次に進める
        /// </summary>
        private void IncrementTurn()
        {
            if (NoEnqueue)
            {
                NoEnqueue = false;
                return;
            }

            ActionSchedule.Enqueue(ActionSchedule.Dequeue());
            MatchInfo.NextPlayerID = ActionSchedule.Peek();
        }
Exemplo n.º 2
0
 /// <summary>
 /// 試合を開始する処理
 /// </summary>
 public void Start()
 {
     MatchInfo.Turn++;
     MatchInfo.NextPlayerID = ActionSchedule.Peek();
 }