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