Class ProjectileDestructors

java.lang.Object
com.csse3200.game.entities.destructors.ProjectileDestructors

public class ProjectileDestructors extends Object
Responsible for destroying projectiles within the game
  • Method Details

    • destroyProjectile

      public static Entity destroyProjectile(Entity projectile)
      Destroys the projectile entity.
      Parameters:
      projectile - The projectile entity that needs to be destroyed.
      Returns:
      Destroyed projectile entity.