/// <summary> /// Updates mario's score if it is not updated yet /// </summary> /// <param name="sc"></param> public override void UpdateScoreBoard(ScoreBoard sc) { if (gotPoints == false) { sc.UpdateScore(20); gotPoints = true; } }
/// <summary> /// The scoreboard gets +20 points /// </summary> /// <param name="scoreboard"></param> public override void UpdateScoreBoard(ScoreBoard scoreboard) { scoreboard.UpdateScore(20); }