Class ProjectileConfig

java.lang.Object
com.csse3200.game.entities.configs.projectiles.ProjectileConfig

public class ProjectileConfig extends Object
Defines all projectile configs to be loaded by the projectile Factory.
  • Field Details

    • itemType

      public static final ItemTypes itemType
    • projectileType

      public final short projectileType
    • target

      public final short target
    • texturePath

      public final String texturePath
  • Constructor Details

    • ProjectileConfig

      public ProjectileConfig(ProjectileTarget target, String texturePath)
      Creates a ProjectileConfig for a projectile.
      Parameters:
      target - The target of the projectile
      texturePath - The path to the projectile's texture