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

Sparse-set component pool: components packed in a dense array, found in O(1). More...

#include <aegis2d/ecs/entity.hpp>
#include <aegis2d/ecs/export.hpp>
#include <concepts>
#include <cstddef>
#include <cstdint>
#include <functional>
#include <optional>
#include <span>
#include <stdexcept>
#include <type_traits>
#include <utility>
#include <vector>

Go to the source code of this file.

Classes

class  aegis2d::ecs::SparseSetBase
 Type-erased part of a sparse set: which entities are in the pool, and where. More...
 
class  aegis2d::ecs::SparseSet< Component >
 Pool of one component type, stored in a sparse set. More...
 

Namespaces

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

Detailed Description

Sparse-set component pool: components packed in a dense array, found in O(1).