Package com.csse3200.game.areas
Class OfficeGameArea
java.lang.Object
com.csse3200.game.areas.GameArea
com.csse3200.game.areas.OfficeGameArea
- All Implemented Interfaces:
com.badlogic.gdx.utils.Disposable
Office room: minimal walls and two doors (left--Security, right--Elevator).
-
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
ConstructorsConstructorDescriptionOfficeGameArea
(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 OfficeGameArea
load
(TerrainFactory terrainFactory, CameraComponent camera) protected void
Add a thin floortoString()
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
-
OfficeGameArea
-
-
Method Details
-
create
public void create()Description copied from class:GameArea
Create the game area in the world. -
spawnFloor
protected void spawnFloor()Add a thin floor- Overrides:
spawnFloor
in classGameArea
-
toString
-
getPlayer
Description copied from class:GameArea
allows manipulation of player character by loading function -
load
-