Class MobBossFactory
java.lang.Object
com.csse3200.game.entities.factories.MobBossFactory
Where all entities of mob bosses are created
-
Method Summary
Modifier and TypeMethodDescriptionstatic Entity
Create base boss entity that all boss mobs will inheritstatic Entity
createDemonBoss
(int health) Creates new Demon boss with its correlating tasks and animationsstatic Entity
createIceBoss
(int health) Creates a new ice boss and adds its correlating animations and tasksstatic Entity
createMobBoss1
(int numLane) static Entity
static Entity
createPatrickBoss
(int health) Creates new Patrick boss with correlating tasks and animationsstatic Entity
Creates end state of demon bossstatic Entity
Creates a patrick entity whose sole purpose is to display death animation
-
Method Details
-
createDemonBoss
Creates new Demon boss with its correlating tasks and animations- Returns:
- Demon boss
-
createSlimeyBoy
Creates end state of demon boss- Returns:
- Slimey Boy
-
createPatrickBoss
Creates new Patrick boss with correlating tasks and animations- Parameters:
health
- - health of the boss- Returns:
- Patrick Boss
-
patrickDead
Creates a patrick entity whose sole purpose is to display death animation- Returns:
- patrick death entity
-
createIceBoss
Creates a new ice boss and adds its correlating animations and tasks- Returns:
- - Ice Baby Boss
-
createMobBoss1
-
createMobBoss2
-
createBaseBoss
Create base boss entity that all boss mobs will inherit- Returns:
- base mob boss entity
-