Bandidos
Public Member Functions | List of all members
com.mygdx.game.waves.IWaveDesigns Interface Reference
Inheritance diagram for com.mygdx.game.waves.IWaveDesigns:
com.mygdx.game.level.ILevelBlueprint com.mygdx.game.level.DesertLevel

Public Member Functions

abstract Wave getWaveDesign (WaveSystem waveSystem, int currentWave, int waveType)
 

Detailed Description

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

Author
Ramses Di Perna

Member Function Documentation

◆ getWaveDesign()

abstract Wave com.mygdx.game.waves.IWaveDesigns.getWaveDesign ( WaveSystem  waveSystem,
int  currentWave,
int  waveType 
)
abstract

Returns a new designed wave with the given information the WaveSystem has provided it with.

Parameters
waveSystemto give the wave as reference to spawn enemies
currentWaveis an index which represents what the current wave amount is. This will influence the wave returned
waveTyperepresents a custom usable integer to communicate 'this is a tutorial wave' and stuff like that
Returns
The Wave instance which is designed for the new wave request.

Implemented in com.mygdx.game.level.DesertLevel.


The documentation for this interface was generated from the following file: