Uses of Enum Class
wizardquest.abilities.DamageEnum
Packages that use DamageEnum
-
Uses of DamageEnum in wizardquest.abilities
Methods in wizardquest.abilities that return DamageEnumModifier and TypeMethodDescriptionAbilityEnum.getDamageType()Get the type of damage the ability deals.static DamageEnumReturns the enum constant of this class with the specified name.static DamageEnum[]DamageEnum.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in wizardquest.abilities with parameters of type DamageEnumModifier and TypeMethodDescriptionintUpgradeBase.calcDamage(int amount, DamageEnum type) voidFireDamageResistanceUpgrade.loseHealth(int amount, DamageEnum type) voidPhysicalDamageResistanceUpgrade.loseHealth(int amount, DamageEnum type) voidThunderDamageResistanceUpgrade.loseHealth(int amount, DamageEnum type) voidUpgradeBase.loseHealth(int amount, DamageEnum type) voidWaterDamageResistanceUpgrade.loseHealth(int amount, DamageEnum type) -
Uses of DamageEnum in wizardquest.entity
Methods in wizardquest.entity with parameters of type DamageEnumModifier and TypeMethodDescriptionintEnemyBase.calcDamage(int base, DamageEnum type) intEntityInterface.calcDamage(int base, DamageEnum type) Calculate the damage inflicted by one entity onto another.intPlayer.calcDamage(int base, DamageEnum type) voidEnemyBase.loseHealth(int amount, DamageEnum type) voidEntityInterface.loseHealth(int amount, DamageEnum type) Decrements an entity's health by a given amount, as a result of a certain damage type being inflicted upon them.voidFishMan.loseHealth(int amount, DamageEnum type) voidPlayer.loseHealth(int amount, DamageEnum type)