Package com.csse3200.game.areas
Class ExtractorMiniGameArea
java.lang.Object
com.csse3200.game.areas.GameArea
com.csse3200.game.areas.ExtractorMiniGameArea
- All Implemented Interfaces:
com.badlogic.gdx.utils.Disposable
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsFields inherited from class com.csse3200.game.areas.GameArea
areaEntities, companion, entityPlacementService, player, structurePlacementService, targetables, terrain -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcreate()Create the game area in the world.voiddispose()Dispose of all internal entities in the areavoidvoidspawnExtractorBang(int x, int y) voidvoidvoidvoidMethods inherited from class com.csse3200.game.areas.GameArea
getAreaEntities, getCompanion, getPlayer, getTerrain, placeEntityAt, registerEntityPlacementService, registerStructurePlacementService, spawnEntity, spawnEntityAt, spawnEntityAtVector, spawnExtractor, spawnPlayer
-
Field Details
-
firePositions
-
holePositions
-
mouseState
-
-
Constructor Details
-
ExtractorMiniGameArea
-
-
Method Details
-
create
public void create()Description copied from class:GameAreaCreate the game area in the world. -
spawnExtractorsRepairs
public void spawnExtractorsRepairs() -
spawnExtinguisher
public void spawnExtinguisher() -
spawnSpanner
public void spawnSpanner() -
spawnExtractorsFirePart
public void spawnExtractorsFirePart() -
spawnExtractorsHolePart
public void spawnExtractorsHolePart() -
spawnExtractorBang
public void spawnExtractorBang(int x, int y) -
dispose
public void dispose()Description copied from class:GameAreaDispose of all internal entities in the area
-