NasNas
An intuitive and beginner friendly 2D game framework for C++
|
Public Member Functions | |
TEntity | create () |
void | destroy (TEntity ent) |
template<typename TComp , typename ... Targs> | |
auto | attach (TEntity ent, Targs &&...args) -> TComp & |
template<typename TComp > | |
void | detach (TEntity ent) |
template<typename TComp > | |
auto | all () -> std::vector< TComp > & |
template<typename TComp > | |
auto | has (TEntity ent) -> bool |
template<typename TComp > | |
auto | get (TEntity ent) -> TComp & |
auto | count () const -> std::size_t |
template<typename... TComps> | |
auto | view () const -> components_view< TEntity, TComps... > |
template<typename... TComps, typename Func > | |
auto | run (Func fn) |
template<typename... TComps> | |
auto | run (System< TComps... > &system) |
Definition at line 16 of file Registry.hpp.