コード例 #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;
 }