Bandidos
|
Classes | |
enum | EnemyType |
Static Public Member Functions | |
static Enemy | createEnemyOfType (EnemyType enemyType) |
static Enemy | createEnemyOfTypeWithAI (EnemyType enemyType, Playfield playfield) |
static float | getHealthAmountForType (EnemyType enemyType) |
static float | getMovementSpeedForType (EnemyType enemyType) |
static int | getScoreAmountForType (EnemyType enemyType) |
static String [] | getUnwalkableTagsForType (EnemyType enemyType) |
static BaseEnemyAttackComponent | getAttackComponentForType (EnemyType enemyType) |
This class contains static methods which can be used to create enemies. The enemies are defined under Types and can have multiple skins under the same type. The stats can be set in this class for the given type.
This creates an instance of the enemy type given.
enemyType | to create |
|
static |
This creates an instance of the enemy type given with its set AI onto it.
enemyType | to create |
playfield | to give to the AI component |
|
static |
Returns an attack component instance which contains all the actions has all the information set needed for attack handling
enemyType | to get attack component instance for |
|
static |
Returns an amount for the given enemy type's health
enemyType | to get health amount for |
|
static |
Returns an amount for the given enemy type's movement speed
enemyType | to get movement speed amount for |
|
static |
Returns an amount for the given enemy type's score
enemyType | to get score amount for |
|
static |
Returns the unwalkable tiles for the given enemy type
enemyType | to get the unwalkable tile tags for |