|
Tower Defence 2
|
#include <level.h>
Public Member Functions | |
| GameLevel (int initial_money, int initial_lives, int enemies_spawned, EnemySpawnInterval &enemy_spawn_interval) | |
| int | initial_money () const |
| int | initial_lives () const |
| int | enemies_spawned () const |
| Count of how many enemies have spawned. | |
| std::vector< EnemyType * > | spawn_enemies (double time) |
| bool | done () |
| True if all enemies have spawned else false. | |
Contains information to start and run different game levels. What types of enemies will spawn, when and where.
| int GameLevel::initial_lives | ( | ) | const |
Initial money
| int GameLevel::initial_money | ( | ) | const |
Initial money
| std::vector< EnemyType * > GameLevel::spawn_enemies | ( | double | time | ) |
Spawn new enemies according to game time
| time |
1.8.11