public void UpdatePlayerScoreFromBowserHit(object sender, PlayerKilledBowserEventArgs e) { if (ReferenceEquals(e.Mario, ParentHUD.Player)) { playerScore += e.PointValue; } }
private void HandleBowserDefeated(object sender, PlayerKilledBowserEventArgs e) { e.Mario.LevelCompleted = true; State = GameState.GameOver; }