Class PlayerConfig
java.lang.Object
com.csse3200.game.entities.configs.BaseEntityConfig
com.csse3200.game.entities.configs.HealthEntityConfig
com.csse3200.game.entities.configs.PlayerConfig
Defines the properties stored in player config files to be loaded by the Player Factory.
-
Field Summary
FieldsFields 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.BaseEntityConfig
getTextures
-
Field Details
-
speed
public int speed -
lives
public int lives -
sounds
-
-
Constructor Details
-
PlayerConfig
public PlayerConfig()
-
-
Method Details
-
equals
- Overrides:
equals
in classHealthEntityConfig
-
hashCode
public int hashCode()- Overrides:
hashCode
in classHealthEntityConfig
-