示例#1
0
        public void RoundDraw(RoundDrawType type)
        {
            var drawState = new RoundDrawState
            {
                CurrentRoundStatus = CurrentRoundStatus,
                RoundDrawType      = type
            };

            StateMachine.ChangeState(drawState);
        }
示例#2
0
        public void RpcRoundDraw(EventMessages.RoundDrawInfo info)
        {
            var roundDrawState = new RoundDrawState
            {
                CurrentRoundStatus = CurrentRoundStatus,
                RoundDrawType      = info.RoundDrawType,
                WaitingData        = info.WaitingData
            };

            StateMachine.ChangeState(roundDrawState);
        }