コード例 #1
0
 public SpecialCaseState(GameState state, NextStatePriority priority) : this()
 {
     State    = state;
     Priority = priority;
 }
コード例 #2
0
#pragma warning restore 649

        /// <summary>
        /// Specify the GameState that will be set at the beginning of next round. This only applies to the very next round, after which
        /// the current TurnEndGameState will revert to its default value.
        /// </summary>
        /// <param name="state"></param>
        public void SetStartingStateForNextRound(GameState state, NextStatePriority priority)
        {
            SpecialCaseForNextRound = new SpecialCaseState(state, priority);
        }