Class ProjectileConfig

java.lang.Object
com.csse3200.game.entities.configs.BaseEntityConfig
com.csse3200.game.entities.configs.ProjectileConfig
All Implemented Interfaces:
Weapon

public class ProjectileConfig extends BaseEntityConfig implements Weapon
Configuration for projectiles.
  • Field Details

    • health

      public int health
    • baseAttack

      public int baseAttack
  • Constructor Details

    • ProjectileConfig

      public ProjectileConfig()
  • Method Details

    • getDamage

      public int getDamage()
      Specified by:
      getDamage in interface Weapon
    • getAttackRange

      public int getAttackRange()
      Specified by:
      getAttackRange in interface Weapon