Package wizardquest.entity
Class FishMan
java.lang.Object
wizardquest.entity.EnemyBase
wizardquest.entity.FishMan
- All Implemented Interfaces:
EntityInterface
Fishman - is a water-based beginner-level enemy
Uses water based techniques, and is water damage resistant
Phase 1 enemy
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionList the abilities that are currently usable by the entity.getType()Get the enumerated type of the entity.voidloseHealth(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.Methods inherited from class wizardquest.entity.EnemyBase
calcDamage, getHealth, getMaxHealth, resetHealth
-
Constructor Details
-
FishMan
- Parameters:
difficulty- defines the current game difficulty for this concrete enemy, used to scale health
-
-
Method Details
-
getAbilities
Description copied from interface:EntityInterfaceList the abilities that are currently usable by the entity.- Specified by:
getAbilitiesin interfaceEntityInterface- Specified by:
getAbilitiesin classEnemyBase- Returns:
- a list of abilities.
-
getType
Description copied from interface:EntityInterfaceGet the enumerated type of the entity.- Returns:
- the entity type.
-
loseHealth
Description copied from interface:EntityInterfaceDecrements an entity's health by a given amount, as a result of a certain damage type being inflicted upon them.- Specified by:
loseHealthin interfaceEntityInterface- Overrides:
loseHealthin classEnemyBase- Parameters:
amount- the total health that the entity will lose.type- the inflicted damage type that has caused this health loss.
-