Monad Engine da02fba2
> Undercity Codex_
Loading...
Searching...
No Matches
eng::GameObjectFactory Class Reference

#include <GameObject.h>

Public Member Functions

template<typename T >
void RegisterObject (const std::string &name)
 
GameObjectCreateGameObject (const std::string &typeName)
 

Static Public Member Functions

static GameObjectFactoryGetInstance ()
 

Detailed Description

Definition at line 113 of file GameObject.h.

Member Function Documentation

◆ CreateGameObject()

GameObject * eng::GameObjectFactory::CreateGameObject ( const std::string &  typeName)

Definition at line 722 of file GameObject.cpp.

Referenced by eng::Scene::CreateObject().

◆ GetInstance()

GameObjectFactory & eng::GameObjectFactory::GetInstance ( )
static

Definition at line 716 of file GameObject.cpp.

Referenced by eng::Scene::CreateObject().

◆ RegisterObject()

template<typename T >
void eng::GameObjectFactory::RegisterObject ( const std::string &  name)
inline

Definition at line 118 of file GameObject.h.


The documentation for this class was generated from the following files: