kgorking / ecs

A header-only/importable c++20 implementation of an entity-component-system (ecs), with focus on a simple interface and speed.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add 'ecs::opts' namespace that holds options to pass to 'make_system'

kgorking opened this issue · comments

Something like

namespace ecs::opts {
template<size_t I>
struct interval {
    static constexpr size_t hz = I;
};

struct manual_update {};

// etc...
}
struct never_concurrent {};