NWengine 0.9
|
Defines the GameObject class and its related components. More...
#include "Globals.h"
#include "Serialization.h"
#include <map>
Go to the source code of this file.
Classes | |
class | GameComponent |
Base class for game components. More... | |
class | GameObject |
Class representing a game object. More... | |
Macros | |
#define | ADD_COMPONENT(str, type) if (type == #str ) return this->AddComponent<str>(); |
Macro to add a component to the GameObject. | |
Typedefs | |
typedef int(* | DrawCallback) (void *data) |
Function pointer type for draw callbacks. | |
Defines the GameObject class and its related components.
Macro to add a component to the GameObject.
str | The name of the component. |
type | The type of the component. |