void Update(object sender, EventArgs e) { increase = mainGrid.deleteRow(ref scoreVector); if (increase > 0) { hud.displayGraphic("Draw Flash", new Vector2(scoreVector.X, scoreVector.Y), Color.White); rowsDeleted += (increase / 100); totalDeleted += (increase / 100); SoundManager.playSound("Audio/Row Deleted"); } checkBonus(); score += increase * bonus; if (increase > 0) { hud.displayText("Draw Score", (increase * bonus).ToString(), new Vector2(115, scoreVector.Y - 10), Color.Blue); } movementCounter.reset(); checkScore(); spawn(); }