private void glass_LinesRemoved(object sender, LinesRemovedEventHadler e) { score += e.NumberOfDeleteLines * 100 * level.CurrentLevel; if (score > 1000 * level.CurrentLevel * level.CurrentLevel) { level.LevelUp(); } }
private void OnLinesRemoved(LinesRemovedEventHadler e) { EventHandler <LinesRemovedEventHadler> handler = LinesRemoved; if (handler != null) { handler(this, e); } }