Class BaseDefenderConfig

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

public class BaseDefenderConfig extends BaseEntityConfig
Defines a set of properties for all defenders.
  • Constructor Details

    • BaseDefenderConfig

      public BaseDefenderConfig()
      Creates a new BaseDefenceConfig with default values.
  • Method Details

    • getCost

      public int getCost()
      Gets the cost of the defender.
      Returns:
      the cost of the defender
    • getRangeType

      public int getRangeType()
      Gets the range type of the defender.
      Returns:
      the range type value
    • getRange

      public int getRange()
      Gets the range value for this entity.
      Returns:
      the range value
    • getAttackState

      public int getAttackState()
      Gets the state value for this entity.
      Returns:
      the state value
    • getAttackSpeed

      public int getAttackSpeed()
      Gets the attack value for this entity.
      Returns:
      the attack value
    • getCritChance

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

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