예제 #1
0
파일: Game.cs 프로젝트: KingTimeoff/Tetris
 private void Time_Tick(object sender, EventArgs e)
 {
     Is_Tick = true;
     if (!moveShapeIfPossible(moveDown: 1))
     {
         nextShape.Hide();
         updateGridWithCurrentShape();
         currentShape = nextShape;
         nextShape    = getNextShape();
         clearFilledRowsAndUpdateScore();
     }
     Is_Tick = false;
 }