Class GoodEnd
java.lang.Object
com.csse3200.game.areas.GameArea
com.csse3200.game.areas.ForestGameArea
com.csse3200.game.components.cutscenes.GoodEnd
- All Implemented Interfaces:
com.badlogic.gdx.utils.Disposable
-
Field Summary
Fields inherited from class com.csse3200.game.areas.GameArea
areaEntities, terrain
-
Constructor Summary
ConstructorsConstructorDescriptionGoodEnd
(TerrainFactory terrainFactory, GdxGame.LevelType level, UpgradesDisplay upgradesDisplay) Initialise this ForestGameArea to use the provided TerrainFactory. -
Method Summary
Methods inherited from class com.csse3200.game.areas.ForestGameArea
dispose, getCustomerSpawnController, getLevel
Methods inherited from class com.csse3200.game.areas.GameArea
spawnEntity, spawnEntityAt, spawnFlame
-
Constructor Details
-
GoodEnd
public GoodEnd(TerrainFactory terrainFactory, GdxGame.LevelType level, UpgradesDisplay upgradesDisplay) Initialise this ForestGameArea to use the provided TerrainFactory.- Parameters:
terrainFactory
- TerrainFactory used to create the terrain for the GameArea.- Requires:
- terrainFactory != null
-
-
Method Details
-
trigger
public void trigger() -
create
public void create()Description copied from class:ForestGameArea
Create the game area, including terrain, static entities (trees), dynamic entities (player)- Overrides:
create
in classForestGameArea
-
getForestTextures
-