Class WaveClass
java.lang.Object
com.csse3200.game.components.tasks.waves.WaveClass
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
WaveClass
Constructor for the WaveClass- Parameters:
entities
- : HashMap of entities and the quantity of them to be spawned in this wave
-
-
Method Details
-
entitiesToWave
Get the entities that are part of this wave and randomise the order they are spawned- Returns:
- mobs for the wave in form of (mob name, mob health)
-
getSize
public int getSize()Gets the current number of entities spawned in the wave- Returns:
- size of the current wave (number of entities)
-
getMobs
Gets the current entities that have spawned in the wave- Returns:
- list of mobs in the current wave
-
toString
-
getEntities
-