hx3d
1
2D/3D Simple Game Framework
|
Unique bit attribution for each component. More...
#include <component.hpp>
Static Public Member Functions | |
template<class T > | |
static unsigned int | get (typename std::enable_if< std::is_base_of< Component, T >::value >::type *test=nullptr) |
Get the bits for the current component type T. More... | |
template<class... Types> | |
static unsigned int | getFamily () |
Get the bits corresponding to the suite of Types. More... | |
Unique bit attribution for each component.
Definition at line 44 of file component.hpp.
|
static |
Get the bits for the current component type T.
test | T must be a Component |
Definition at line 23 of file component.hpp.
|
static |
Get the bits corresponding to the suite of Types.
Definition at line 46 of file component.hpp.