Package com.csse3200.game.areas
Class ElevatorGameArea
java.lang.Object
com.csse3200.game.areas.GameArea
com.csse3200.game.areas.ElevatorGameArea
- All Implemented Interfaces:
com.badlogic.gdx.utils.Disposable
Elevator room: minimal walls and two doors (left--Office, right--Research).
-
Nested Class Summary
Nested classes/interfaces inherited from class com.csse3200.game.areas.GameArea
GameArea.Bounds
-
Field Summary
Fields inherited from class com.csse3200.game.areas.GameArea
areaEntities, baseScaling, cameraComponent, isTransitioning, roomNumber, terrain, terrainFactory, wavesManager
-
Constructor Summary
ConstructorsConstructorDescriptionElevatorGameArea
(TerrainFactory terrainFactory, CameraComponent cameraComponent) -
Method Summary
Modifier and TypeMethodDescriptionvoid
create()
Create the game area in the world.allows manipulation of player character by loading functionstatic ElevatorGameArea
load
(TerrainFactory terrainFactory, CameraComponent camera) protected void
Override default floor spawning to use the thin floor sprite in the elevator.toString()
Methods inherited from class com.csse3200.game.areas.GameArea
addSolidWallBottom, addSolidWallLeft, addSolidWallRight, addSolidWallTop, addVerticalDoorLeft, addVerticalDoorRight, beginTransition, clearAndLoad, dispose, endTransition, ensurePlayerAtlas, ensureTextures, getBaseDifficultyScale, getCameraBounds, getEnemySpawnPosition, getEntities, getRoomNumber, getRoomSpawnPosition, loadArea, removeEntity, setupTerrainWithOverlay, spawnDeepspin, spawnEnemies, spawnEntity, spawnEntityAt, spawnEntityInRoom, spawnGhostGPT, spawnGhostGPTProjectile, spawnGrokDroid, spawnItem, spawnObjectDoors, spawnTurret, spawnVroomba, startWaves, unloadAssets
-
Constructor Details
-
ElevatorGameArea
-
-
Method Details
-
create
public void create()Description copied from class:GameArea
Create the game area in the world. -
spawnFloor
protected void spawnFloor()Override default floor spawning to use the thin floor sprite in the elevator.- Overrides:
spawnFloor
in classGameArea
-
toString
-
getPlayer
Description copied from class:GameArea
allows manipulation of player character by loading function -
load
-