Class WeaponConfig
java.lang.Object
com.csse3200.game.entities.configs.BaseEntityConfig
com.csse3200.game.entities.configs.WeaponConfig
Defines each entries properties stored in wall config file to be loaded by the Wall Factory.
-
Field Summary
FieldsModifier and TypeFieldDescriptionint
int
int
float
float
int
float
int
float
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
-
name
-
description
-
damage
public float damage -
weaponSpeed
public float weaponSpeed -
rotationSpeed
public float rotationSpeed -
weaponDuration
public int weaponDuration -
attackCooldown
public int attackCooldown -
ammoUse
public int ammoUse -
projectiles
public int projectiles -
animationType
public int animationType -
imageScale
public float imageScale -
textureAtlas
-
imagePath
-
sound
-
type
-
slotType
-
iconPath
-
-
Constructor Details
-
WeaponConfig
public WeaponConfig()
-