Aegis2D
Modular C++26 2D game engine for networked games
Loading...
Searching...
No Matches
waves.hpp File Reference

Enemy waves read from a data file: what spawns, where and when. More...

#include <aegis2d/core/config.hpp>
#include <aegis2d/core/math.hpp>
#include <aegis2d/ecs/system.hpp>
#include <algorithm>
#include <cmath>
#include <cstddef>
#include <cstdint>
#include <filesystem>
#include <span>
#include <string>
#include <string_view>
#include <vector>

Go to the source code of this file.

Classes

struct  aegis2d::ecs::WaveSpawn
 One entity a WaveSchedule makes appear. More...
 
class  aegis2d::ecs::WaveSchedule
 Enemy waves from a data file: which entities appear, where and when. More...
 

Namespaces

namespace  aegis2d
 Root namespace of the engine.
 
namespace  aegis2d::ecs
 Entity-Component-System used by client and server.
 
namespace  aegis2d::ecs::detail
 

Functions

std::string aegis2d::ecs::detail::at_index (std::string_view parent, std::size_t index)
 
float aegis2d::ecs::detail::seconds_at (const core::Config &config, const std::string &path, float fallback)
 
Vec2 aegis2d::ecs::detail::vec2_at (const core::Config &config, const std::string &path)
 

Detailed Description

Enemy waves read from a data file: what spawns, where and when.