public void RoundDraw(RoundDrawType type) { var drawState = new RoundDrawState { CurrentRoundStatus = CurrentRoundStatus, RoundDrawType = type }; StateMachine.ChangeState(drawState); }
public void RpcRoundDraw(EventMessages.RoundDrawInfo info) { var roundDrawState = new RoundDrawState { CurrentRoundStatus = CurrentRoundStatus, RoundDrawType = info.RoundDrawType, WaitingData = info.WaitingData }; StateMachine.ChangeState(roundDrawState); }