public void HandleCollision(IMario mario, Direction result) { if ((mario.MarioPowerupState is NormalMarioPowerupState || mario.MarioPowerupState is SuperMarioPowerupState) && !mario.IsStarMario()) { SoundManager.Instance.PlaySoundEffect("marioPowerUp"); mario.BeFire(); } }