Class BossFactory

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

public class BossFactory extends Object
  • Method Details

    • createKangaBossEntity

      public static Entity createKangaBossEntity(Entity target)
      Creates a Kangaroo Boss entity.
      Parameters:
      target - entity to chase
      Returns:
      entity
    • createWaterBossEntity

      public static Entity createWaterBossEntity(Entity target)
      Creates a Water Boss entity.
      Parameters:
      target - entity to chase
      Returns:
      entity
    • createAirBossEntity

      public static Entity createAirBossEntity(Entity target)
      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 chase
      type - the type of the boss
      Returns:
      entity