|
Monad Engine da02fba2
> Undercity Codex_
|
Abstract base for all GameObject components and the COMPONENT macro. More...
Include dependency graph for Component.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Classes | |
| class | mnd::Component |
| class | mnd::ComponentCreatorBase |
| class | mnd::ComponentCreator< T > |
| class | mnd::ComponentFactory |
Namespaces | |
| namespace | mnd |
Macros | |
| #define | COMPONENT(ComponentClass) |
Abstract base for all GameObject components and the COMPONENT macro.
A GameObject is a named scene node with a transform. Behaviour and rendering are added by attaching Component subclasses. Each component type gets a unique numeric ID at runtime so that typed lookup via GameObject::GetComponent<T>() works in O(n) without RTTI.
Definition in file Component.h.
| #define COMPONENT | ( | ComponentClass | ) |
Definition at line 105 of file Component.h.