public static void ProjectilePlayerCollision(IProjectile proj, IMario player) {
            if (player.CurrentState is DeadMarioState)
                return;

            if (!proj.CanHarmPlayers()) return;
            player.TakeDamage();
            proj.Delete();
        }
 public static void ProjectileEnemyCollision(IProjectile proj, IEnemy enemy) {
     if (!proj.CanHarmEnemies()) return;
     enemy.Kill();
     proj.Delete();
     if (proj is Bullet) SoundManager.PlayHitSound();
     else SoundManager.PlayKickSound();
 }