Wraith
0.1.5
Basic 3D game engine in C++
|
Various methods to control internal aspects of the GameObject. More...
Functions | |
void | GameObject::submitSceneEntry () |
Submit scene entry to current scene. More... | |
void | GameObject::submitSceneExit () |
Submit scene exit from current scene. More... | |
Various methods to control internal aspects of the GameObject.
GameObject entry and exit from a Scene is mostly used when using objects that are created and recycled from an Object Pool For example here is where it would be used for Bullet created/recycled from a Bullet pool. NOTE: this uses collisions for the example see Collision Module for more information about collisions. As well as key inputs, see Input Module for more information about inputs.
void GameObject::submitSceneEntry | ( | ) |
Submit scene entry to current scene.
Mainly used for GameObject entities that are created and recycled with factories.
void GameObject::submitSceneExit | ( | ) |
Submit scene exit from current scene.
Mainly used for GameObject entities that are created and recycled with factories.