|
Aegis2D
Modular C++26 2D game engine for networked games
|
One entity a WaveSchedule makes appear. More...
#include <aegis2d/ecs/waves.hpp>
Public Attributes | |
| std::string | type |
Name of the entity type, as written in the file (e.g. "grunt"); the game maps it to its creation function. | |
| Vec2 | position {} |
| Where it appears, in logical pixels. | |
| std::size_t | wave = 0 |
| Index of its wave in the file, from 0. | |
| float | time = 0.0F |
| When it appears, in seconds from the start of the schedule (of each loop). | |
One entity a WaveSchedule makes appear.
| Vec2 aegis2d::ecs::WaveSpawn::position {} |
Where it appears, in logical pixels.
| float aegis2d::ecs::WaveSpawn::time = 0.0F |
When it appears, in seconds from the start of the schedule (of each loop).
| std::string aegis2d::ecs::WaveSpawn::type |
Name of the entity type, as written in the file (e.g. "grunt"); the game maps it to its creation function.
| std::size_t aegis2d::ecs::WaveSpawn::wave = 0 |
Index of its wave in the file, from 0.