public void AddPointsForEnemyHitByShell(IGameObject enemy) { int scoreToAdd = multilperForScore.DetermineShellHitSequence(enemy); score += scoreToAdd; FloatingScoreBar.CreateNewScoreAnimation(enemy, scoreToAdd); }
public void AddPointsForFireballKoopaHit(IGameObject koopa) { int scoreToAdd = ScoreUtil.SpecialKoopaHitScore; score += scoreToAdd; FloatingScoreBar.CreateNewScoreAnimation(koopa, scoreToAdd); }
public void AddPointsForEnemyBelowBlockHit(IGameObject enemy) { int scoreToAdd = ScoreUtil.EnemyBelowBlockHitScore; score += scoreToAdd; FloatingScoreBar.CreateNewScoreAnimation(enemy, scoreToAdd); }
public void AddPointsForStompingEnemy(IGameObject enemy) { int scoreToAdd = multilperForScore.DetermineStompSequence(); score += scoreToAdd; FloatingScoreBar.CreateNewScoreAnimation(enemy, scoreToAdd); }
public void AddPointsForFinalPole(Rectangle marioDestination) { int scoreToAdd = ScoreUtil.OffTheFlagFifthScore; if (marioDestination.Y < ScoreUtil.FlagFirst) { scoreToAdd = ScoreUtil.OffTheFlagHighestScore; } else if (marioDestination.Y < ScoreUtil.FlagSecond) { scoreToAdd = ScoreUtil.OffTheFlagSecondScore; } else if (marioDestination.Y < ScoreUtil.FlagThird) { scoreToAdd = ScoreUtil.OffTheFlagThirdScore; } else if (marioDestination.Y < ScoreUtil.FlagForth) { scoreToAdd = ScoreUtil.OffTheFlagFourthScore; } score += scoreToAdd; FloatingScoreBar.CreateNewScoreAnimation(GameObjectManager.Instance.Mario, scoreToAdd); }
public void AddPointsForCollectingItem(IGameObject item) { score += ScoreUtil.ItemCollectedScore; FloatingScoreBar.CreateNewScoreAnimation(item, ScoreUtil.ItemCollectedScore); }