Class MobBossFactory
java.lang.Object
com.csse3200.game.entities.factories.MobBossFactory
Where all entities of mob bosses are created
-
Method Summary
Modifier and TypeMethodDescriptionstatic EntityCreate base boss entity that all boss mobs will inheritstatic EntitycreateDemonBoss(int health) Creates new Demon boss with its correlating tasks and animationsstatic EntitycreateIceBoss(int health) Creates a new ice boss and adds its correlating animations and tasksstatic EntitycreateMobBoss1(int numLane) static Entitystatic EntitycreatePatrickBoss(int health) Creates new Patrick boss with correlating tasks and animationsstatic EntityCreates end state of demon bossstatic EntityCreates 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
-