Ejemplo n.º 1
0
 public void StartGame()
 {
     holdButtonAlredyUse = false;
     GameIsOver          = false;
     Score      = 0;
     LinesScore = 0;
     HoldedFallingFigureType = null;
     gameField             = new Block[GameFieldSize.Width, GameFieldSize.Height];
     fallingFigure         = Tetromino.CreateRandomFigure(FallingFigureSpawnPosition);
     NextFallingFigureType = Tetromino.GetRandomType();
     OnGameStart();
 }