◆ countForEach() [1/2]
int com.mygdx.game.level.DesertLevel.countForEach |
( |
int |
value, |
|
|
int |
wave |
|
) |
| |
|
protected |
Counts 1 for every (each) which fits in the total given.
- Parameters
-
each | to check which fits in the total |
total | to check the each with |
- Returns
- The amount of times the 'each' integer given fits into total
◆ countForEach() [2/2]
int com.mygdx.game.level.DesertLevel.countForEach |
( |
int |
each, |
|
|
int |
total, |
|
|
int |
minValue, |
|
|
int |
maxValue |
|
) |
| |
|
protected |
Counts 1 for every (each) which fits in the total given.
- Parameters
-
each | to check which fits in the total |
total | to check the each with |
minValue | which should be returned |
maxValue | which should be returned |
- Returns
- The amount of times the 'each' integer given fits into total clamped between the minValue and the maxValue
◆ getGridAmountX()
int com.mygdx.game.level.DesertLevel.getGridAmountX |
( |
| ) |
|
◆ getGridAmountY()
int com.mygdx.game.level.DesertLevel.getGridAmountY |
( |
| ) |
|
◆ getLevelBackground()
Texture com.mygdx.game.level.DesertLevel.getLevelBackground |
( |
| ) |
|
◆ getLevelMusic()
Sound com.mygdx.game.level.DesertLevel.getLevelMusic |
( |
| ) |
|
◆ getTrapSpawnInfos()
TrapSpawnInfo [] com.mygdx.game.level.DesertLevel.getTrapSpawnInfos |
( |
| ) |
|
◆ getWaveDesign()
Wave com.mygdx.game.level.DesertLevel.getWaveDesign |
( |
WaveSystem |
waveSystem, |
|
|
int |
currentWave, |
|
|
int |
waveType |
|
) |
| |
Returns a new designed wave with the given information the WaveSystem has provided it with.
- Parameters
-
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 |
- Returns
- The Wave instance which is designed for the new wave request.
Implements com.mygdx.game.waves.IWaveDesigns.
The documentation for this class was generated from the following file:
- C:/Users/RamsesPC/Documents/LibGDXGames/PvB/core/src/com/mygdx/game/level/DesertLevel.java