Class BaseEnemyEntityConfig

java.lang.Object
com.csse3200.game.entities.configs.BaseEntityConfig
com.csse3200.game.entities.configs.BaseEnemyEntityConfig

public class BaseEnemyEntityConfig extends BaseEntityConfig
Defines a basic set of properties stored in entities config files to be loaded by Entity Factories.
  • Constructor Details

    • BaseEnemyEntityConfig

      public BaseEnemyEntityConfig()
  • Method Details

    • getHealth

      public int getHealth()
      Returns the health value of this entity.
      Returns:
      the health value as an int.
    • setHealth

      public void setHealth(int health)
      Sets the health value for this entity.
      Parameters:
      health - the new health value.
    • getHunger

      public int getHunger()
      Returns the hunger value of this entity.
      Returns:
      the hunger value as an int.
    • setHunger

      public void setHunger(int hunger)
      Sets the hunger value for this entity.
      Parameters:
      hunger - the new hunger value.
    • getBaseAttack

      public int getBaseAttack()
      Returns the base attack value of this entity.
      Returns:
      the base attack value as an int.
    • setBaseAttack

      public void setBaseAttack(int baseAttack)
      Sets the base attack value for this entity.
      Parameters:
      baseAttack - the new base attack value.
    • getDefense

      public int getDefense()
      Returns the defense value of this entity.
      Returns:
      the defense value as an int.
    • setDefense

      public void setDefense(int defense)
      Sets the defense value for this entity.
      Parameters:
      defense - the new defense value.
    • getSpeed

      public int getSpeed()
      Returns the speed value of this entity.
      Returns:
      the speed value as an int.
    • setSpeed

      public void setSpeed(int speed)
      Sets the speed value for this entity.
      Parameters:
      speed - the new speed value.
    • getExperience

      public int getExperience()
      Returns the experience value of this entity.
      Returns:
      the experience value as an int.
    • setExperience

      public void setExperience(int experience)
      Sets the experience value for this entity.
      Parameters:
      experience - the new experience value.
    • getLevel

      public int getLevel()
      Returns the level value for this entity.
      Returns:
      the level value as an int.
    • setLevel

      public void setLevel(int level)
      Sets the level value for this entity.
      Parameters:
      level - the new level value.