Class BossFactory
java.lang.Object
com.csse3200.game.entities.factories.BossFactory
-
Method Summary
Modifier and TypeMethodDescriptionstatic Entity
createAirBossEntity
(Entity target) Creates an Air Boss entity.static Entity
createBossNPC
(Entity target, Entity.EnemyType type, BaseEnemyEntityConfig config) Creates a boss NPC to be used as a boss entity by more specific NPC creation methods.static Entity
createKangaBossEntity
(Entity target) Creates a Kangaroo Boss entity.static Entity
createWaterBossEntity
(Entity target) Creates a Water Boss entity.
-
Method Details
-
createKangaBossEntity
Creates a Kangaroo Boss entity.- Parameters:
target
- entity to chase- Returns:
- entity
-
createWaterBossEntity
Creates a Water Boss entity.- Parameters:
target
- entity to chase- Returns:
- entity
-
createAirBossEntity
Creates an Air Boss entity.- Parameters:
target
- entity to chase- Returns:
- entity
-
createBossNPC
public static Entity createBossNPC(Entity target, Entity.EnemyType type, BaseEnemyEntityConfig config) Creates a boss NPC to be used as a boss entity by more specific NPC creation methods.- Parameters:
target
- the entity to chasetype
- the type of the boss- Returns:
- entity
-