![]() |
XII Release 0.1.0
|
A handle to a game object. More...
#include <Declarations.h>
Public Member Functions | |
XII_DECLARE_HANDLE_TYPE (xiiGameObjectHandle, xiiGameObjectId) | |
Friends | |
class | xiiWorld |
class | xiiGameObject |
A handle to a game object.
Never store a direct pointer to a game object. Always store a handle instead. A pointer to a game object can be received by calling xiiWorld::TryGetObject with the handle. Note that the object might have been deleted so always check the return value of TryGetObject.