|
SDEngine
Game Engine
|
#include <ComponentFactory.hpp>
Public Types | |
| using | PoolCreatorFn = std::function< std::unique_ptr< SparseEntitySetBase >()> |
Static Public Member Functions | |
| static void | register_component (u32 component_id, PoolCreatorFn creator) |
| static std::unique_ptr< SparseEntitySetBase > | create (u32 component_id) |
| static bool | is_registered (u32 component_id) |
Static Private Attributes | |
| static std::vector< PoolCreatorFn > | m_creators |
| using sd::ComponentFactory::PoolCreatorFn = std::function<std::unique_ptr<SparseEntitySetBase>()> |
|
static |
|
static |
|
inlinestaticprivate |