Package pvzclone.model.api
Interface Level
- All Known Implementing Classes:
LevelImpl
public interface Level
This interface models a Level.
-
Method Summary
Modifier and TypeMethodDescriptionlong
Returns the sun spawn rate.long
Returns the sun decrement spawn rate.int
Returns the number of zombies in one level.int
Returns the number of zombies in a wave in the level.long
Returns the zombie spawn rate.long
Returns the zombie decrement spawn rate.int
Returns the number of zombie waves in one level.
-
Method Details
-
getZombieCount
int getZombieCount()Returns the number of zombies in one level.- Returns:
- the number of zombies in one level.
-
getZombieWaveCount
int getZombieWaveCount()Returns the number of zombie waves in one level.- Returns:
- the numbers of zombie waves in one level.
-
getZombieCountInWave
int getZombieCountInWave()Returns the number of zombies in a wave in the level. The value is based on the zombie count.- Returns:
- the number of zombies in a wave in the level.
-
getSunSpawnRate
long getSunSpawnRate()Returns the sun spawn rate.- Returns:
- the sun spawn rate.
-
getZombieSpawnRate
long getZombieSpawnRate()Returns the zombie spawn rate.- Returns:
- the zombie spawn rate.
-
getSunSpawnRateDecrementRange
long getSunSpawnRateDecrementRange()Returns the sun decrement spawn rate.- Returns:
- the sun decrement spawn rate.
-
getZombieSpawnRateDecrementRange
long getZombieSpawnRateDecrementRange()Returns the zombie decrement spawn rate.- Returns:
- the zombie decrement spawn rate.
-