ezEngine  Milestone 7
ezGameObjectHandle Class Reference

A handle to a game object. More...

#include <Declarations.h>

Private Member Functions

 EZ_DECLARE_HANDLE_TYPE (ezGameObjectHandle, ezGameObjectId)
 

Friends

class ezWorld
 
class ezGameObject
 

Detailed Description

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 ezWorld::TryGetObject with the handle. Note that the object might have been deleted so always check the return value of TryGetObject.


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