Exemplo n.º 1
0
 /// <summary>
 /// 重置游戏
 /// </summary>
 public void Reset()
 {
     ClearAllSeatInfo();
     IsStarted  = false;
     IsStoped   = false;
     IsGameOver = false;
     AfterResetHander?.Invoke(this, new EventArgs());
 }
Exemplo n.º 2
0
 /// <summary>
 /// 重置游戏
 /// </summary>
 public void Reset(bool clearSeatData = true)
 {
     if (clearSeatData)
     {
         ClearAllSeatInfo();
     }
     IsStarted  = true;
     IsStoped   = false;
     IsGameOver = false;
     AfterResetHander?.Invoke(this, new EventArgs());
 }