Bandidos
|
Public Member Functions | |
abstract Wave | getWaveDesign (WaveSystem waveSystem, int currentWave, int waveType) |
This is the base class for wave designs. The WaveSystem uses this to ask for the next wave to spawn. This class will design and return the correct wave with the given information You can request for a new wave by calling the 'getWaveDesign' method
|
abstract |
Returns a new designed wave with the given information the WaveSystem has provided it with.
waveSystem | to give the wave as reference to spawn enemies |
currentWave | is an index which represents what the current wave amount is. This will influence the wave returned |
waveType | represents a custom usable integer to communicate 'this is a tutorial wave' and stuff like that |
Implemented in com.mygdx.game.level.DesertLevel.