Class MobBossFactory

java.lang.Object
com.csse3200.game.entities.factories.MobBossFactory

public class MobBossFactory extends Object
Where all entities of mob bosses are created
  • Method Details

    • createDemonBoss

      public static Entity createDemonBoss(int health)
      Creates new Demon boss with its correlating tasks and animations
      Returns:
      Demon boss
    • createSlimeyBoy

      public static Entity createSlimeyBoy()
      Creates end state of demon boss
      Returns:
      Slimey Boy
    • createPatrickBoss

      public static Entity createPatrickBoss(int health)
      Creates new Patrick boss with correlating tasks and animations
      Parameters:
      health - - health of the boss
      Returns:
      Patrick Boss
    • patrickDead

      public static Entity patrickDead()
      Creates a patrick entity whose sole purpose is to display death animation
      Returns:
      patrick death entity
    • createIceBoss

      public static Entity createIceBoss(int health)
      Creates a new ice boss and adds its correlating animations and tasks
      Returns:
      - Ice Baby Boss
    • createMobBoss1

      public static Entity createMobBoss1(int numLane)
    • createMobBoss2

      public static Entity createMobBoss2()
    • createBaseBoss

      public static Entity createBaseBoss()
      Create base boss entity that all boss mobs will inherit
      Returns:
      base mob boss entity