Package wizardquest.entity
Class Goblin
java.lang.Object
wizardquest.entity.EnemyBase
wizardquest.entity.Goblin
- All Implemented Interfaces:
EntityInterface
Goblin: beginner level enemy
They have low health and use only physical attacks
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.Methods inherited from class wizardquest.entity.EnemyBase
calcDamage, getHealth, getMaxHealth, loseHealth, resetHealth
-
Constructor Details
-
Goblin
- 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.
-