Example #1
0
        private void CheckTetrisGridData()
        {
            if (gridData.CheckGridData() != null)
            {
                gameScreen.ReDrawingTetrisGrid(gridData.GetGridData);

                player.AddScore(gridData.LastCombo);
                gameScreen.SetScore(player.GetPlayerScore);

                CheckNewBestScore(player.GetPlayerScore);

                gameScreen.SetLineCounter(player.GetTotalIncreseLines);
                SetLevelChange(player.GetPlayerLevel);
            }
        }