Class EnemyConfig
java.lang.Object
com.csse3200.game.entities.configs.BaseEntityConfig
com.csse3200.game.entities.configs.HealthEntityConfig
com.csse3200.game.entities.configs.EnemyConfig
Defines the properties stored in Enemy config files to be loaded by the NPC Factory.
-
Field Summary
FieldsModifier and TypeFieldDescriptionboolean
int
int
Fields inherited from class com.csse3200.game.entities.configs.HealthEntityConfig
attackMultiplier, baseAttack, health, isImmune, maxHealth
Fields inherited from class com.csse3200.game.entities.configs.BaseEntityConfig
position, requiredTextures, scale, spritePath
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.csse3200.game.entities.configs.HealthEntityConfig
equals, hashCode
Methods inherited from class com.csse3200.game.entities.configs.BaseEntityConfig
getTextures
-
Field Details
-
speed
public int speed -
behaviour
-
type
-
isBoss
public boolean isBoss -
specialAttack
public int specialAttack -
sound
-
-
Constructor Details
-
EnemyConfig
public EnemyConfig() -
EnemyConfig
public EnemyConfig(boolean isBoss)
-