Class FlyingBossRoom

java.lang.Object
com.csse3200.game.areas.GameArea
com.csse3200.game.areas.FlyingBossRoom
All Implemented Interfaces:
com.badlogic.gdx.utils.Disposable

public class FlyingBossRoom extends GameArea
This is the room that holds the Flying Boss. The boss is a flying enemy that spawns at the top of the map and shoots projectiles at the player. There are two platforms that can possibly server as cover as well as a floor at the bottom
  • Constructor Details

    • FlyingBossRoom

      public FlyingBossRoom(TerrainFactory terrainFactory, CameraComponent cameraComponent)
      Creates a new FlyingBossRoom for the room where the flying boss spawns.
      Parameters:
      terrainFactory - TerrainFactory used to create the terrain for the GameArea (required).
      cameraComponent - Camera helper supplying an OrthographicCamera (optional but used here).
      Requires:
      terrainFactory not null
  • Method Details

    • create

      public void create()
      Creates the room by: - spawning doors - displaying the UI - spawns player - spawns platforms - spanws walls - spawns the flying boss - spawns items
      Specified by:
      create in class GameArea
    • getPlayer

      public Entity getPlayer()
      Description copied from class: GameArea
      allows manipulation of player character by loading function
      Specified by:
      getPlayer in class GameArea
      Returns:
      player entity
    • loadShipping

      public void loadShipping()
    • loadResearch

      public void loadResearch()