Monad Engine da02fba2
> Undercity Codex_
Loading...
Searching...
No Matches
GameObject.h File Reference
#include "scene/Component.h"
#include <string>
#include <vector>
#include <memory>
#include <glm/vec3.hpp>
#include <glm/gtc/quaternion.hpp>
#include <glm/mat4x4.hpp>
+ Include dependency graph for GameObject.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  eng::GameObject
 
class  eng::ObjectCreatorBase
 
class  eng::ObjectCreator< T >
 
class  eng::GameObjectFactory
 

Namespaces

namespace  eng
 

Macros

#define GAMEOBJECT(ObjectClass)
 

Macro Definition Documentation

◆ GAMEOBJECT

#define GAMEOBJECT (   ObjectClass)
Value:
public: \
static void Register() { eng::GameObjectFactory::GetInstance().RegisterObject<ObjectClass>(std::string(#ObjectClass)); }
void RegisterObject(const std::string &name)
Definition GameObject.h:118
static GameObjectFactory & GetInstance()

Definition at line 129 of file GameObject.h.