public TurnTicket GetTurnTicket()
        {
            int newTurnNumber = TurnNumberSequence.GetNextTurnNumber();

            TurnTicket newTurnTicket = new TurnTicket(newTurnNumber);

            return newTurnTicket;
        }
예제 #2
0
        public TurnTicket GetTurnTicket()
        {
            int newTurnNumber= _turnNumbersequence.GetNextNumber();
            // old legacy clients will still use ITurnNumberSequence.GetNextTurnNumber()

            TurnTicket newTurnTicket = new TurnTicket(newTurnNumber);

            return newTurnTicket;
        }