#include <D:/Projekte/i6engine/libs/i6engine-modules/include/i6engine/modules/object/ObjectManager.h>
Definition at line 44 of file ObjectManager.h.
i6e::modules::ObjectManager::ObjectManager |
( |
| ) |
|
constructor, initializes Object stuff
i6e::modules::ObjectManager::~ObjectManager |
( |
| ) |
|
Creates a new Component.
- Parameters
-
[in] | GOCType | name of the Component to create. |
[in] | params | a std::map<std::string, std::string> used to parameterize the creation process |
- Returns
- a pointer to the created GOComponent
- Exceptions
-
I6_FAILURE | When GOCType is not registered at this factory. |
void i6e::modules::ObjectManager::loadLevel |
( |
const std::string & |
file, |
|
|
const std::string & |
flags, |
|
|
const std::function< void(uint16_t)> & |
callback |
|
) |
| |
loads a level out of the given file with the given flags
- Parameters
-
[in] | file | file to open |
[in] | flags | |
[in] | callback | for progress |
- Exceptions
-
I6_FAILURE | When file can't be opened |
void i6e::modules::ObjectManager::registerCTemplate |
( |
const std::string & |
GOCType, |
|
|
const api::createGOCCallback & |
fn |
|
) |
| |
registers a template with callback for creating a Component
void i6e::modules::ObjectManager::Tick |
( |
| ) |
|
The documentation for this class was generated from the following file: