Пример #1
0
 public void TimerTrigger()
 {
     if (tetrisModel.GetState().Equals(TetrisModel.STATE.DOING))
     {
         tetrisModel.CubeAutoDown();
     }
 }
Пример #2
0
 public void TimerTrigger()
 {
     if (tetrisModel.GetState().Equals(TetrisModel.STATE.DOING))
     {
         tetrisModel.CubeAutoDown();
     }
     else if (tetrisModel.GetState() == TetrisModel.STATE.STOP)
     {
         tetrisModel.GameOverPanel();
     }
 }