Class BaseEntityConfig

java.lang.Object
com.csse3200.game.entities.configs.BaseEntityConfig
Direct Known Subclasses:
BaseDefenderConfig, BaseEnemyConfig, BaseGeneratorConfig

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

    • BaseEntityConfig

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

    • getName

      public String getName()
      Gets the name of the entity.
      Returns:
    • getDescription

      public String getDescription()
      Gets the description of the entity.
      Returns:
      the description of the entity
    • getHealth

      public int getHealth()
      Gets the health of the entity.
      Returns:
      the health of the entity
    • getAssetPath

      public String getAssetPath()
      Gets the asset path of the entity.
      Returns:
      the asset path of the entity
    • getAtlasPath

      public String getAtlasPath()
      Gets the atlas path of the entity.
      Returns:
      the atlas path of the entity