Class BaseEnemyConfig

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

public class BaseEnemyConfig extends BaseEntityConfig
An abstract class representing the stats defining an enemy, including combat stats, movement speed,
  • Constructor Details

    • BaseEnemyConfig

      public BaseEnemyConfig()
      Creates a new BaseEntityConfig with default values.
  • Method Details

    • getAttack

      public int getAttack()
      Gets the attack value for this entity.
      Returns:
      the attack value
    • getMovementSpeed

      public float getMovementSpeed()
      Gets the movement speed value for this entity.
      Returns:
      the movement speed value
    • isTeleportRobot

      public boolean isTeleportRobot()
      Checks if this entity is a teleport robot.
      Returns:
      true if this entity is a teleport robot, false otherwise
    • getTeleportCooldownSeconds

      public float getTeleportCooldownSeconds()
      Gets the teleport cooldown seconds value for this entity.
      Returns:
      the teleport cooldown seconds value
    • getTeleportChance

      public float getTeleportChance()
      Gets the teleport chance value for this entity.
      Returns:
      the teleport chance value
    • getMaxTeleports

      public int getMaxTeleports()
      Gets the max teleports value for this entity.
      Returns:
      the max teleports value
    • getInvulnerabilityMs

      public int getInvulnerabilityMs()
      Gets the invulnerability ms value for this entity.
      Returns:
      the invulnerability ms value
    • getScale

      public float getScale()
      Gets the scale value for this entity.
      Returns:
      the scale value
    • getCoinsRewarded

      public int getCoinsRewarded()
      Gets the coins rewarded value for this entity.
      Returns:
      the coins rewarded value