synchronized void runProjectiles()
    {
        java.util.List<Projectile> remove = new LinkedList<Projectile>();
        for (Projectile p : projectiles)
        {
          if (p.time >= 50)
            remove.add(p);
          else if(gameIsMultiPlayer() && p.hasCollision(otherPlayer))
          {
            otherPlayer.loseHealth();
            remove.add(p);
          }
          p.run();
        }

        for (Projectile p : remove)
        {
          projectiles.remove(p);
        }
    }