Responsible for GameObject centralization. More...
#include <GameObject.h>
Private Member Functions | |
void | SubmitEntry () |
Function to be called when GameObject enters a scene. | |
void | SubmitExit () |
Function to be called when GameObject exits a scene. | |
virtual void | SceneEntry () |
Function called by SubmitEntry() responsible for registration. | |
virtual void | SceneExit () |
Function called by SubmitExit() responsible for deregistration. | |
Additional Inherited Members | |
![]() | |
void | SubmitRegistration () |
Called when wanting to make changes every frame. | |
void | SubmitDeregistration () |
Called when wanting to stop making changes every frame. | |
![]() | |
void | SubmitRegistration () |
Called when wanting to show graphics objects on screen. | |
void | SubmitDeregistration () |
Called when wanting to hide graphics objects on screen. | |
![]() | |
void | SubmitRegistration () |
Called when wanting to show sprites on screen. | |
void | SubmitDeregistration () |
Called when wanting to hide sprites on screen. | |
![]() | |
void | SubmitRegistration (float t, AlarmableManager::ALARM_ID id) |
Called when wanting to start an alarm. | |
void | SubmitDeregistration (AlarmableManager::ALARM_ID id) |
Called when wanting to cancel an alarm. | |
![]() | |
void | SubmitRegistration (AZUL_KEY k, EVENT_TYPE e) |
Called when wanting to check for a specific key. | |
void | SubmitDeregistration (AZUL_KEY k, EVENT_TYPE e) |
Called when wanting to stop checking for a specific key. | |
![]() | |
void | SubmitRegistration () |
Called when wanting to check for collisions. | |
void | SubmitDeregistration () |
Called when wanting to stop checking for collisions. | |
void | SetColliderModel (Model *mod) |
Stores an Objects Collision Model for calculating collisions. | |
void | UpdateCollisionData (const Matrix &mat) |
Updates Objects Collision Model for proper scaling and positioning. | |
template<typename C> | |
void | SetCollidableGroup () |
Registers a DemoObject to be part of a Collision Group. | |
Responsible for GameObject centralization.
|
privatevirtual |
Function called by SubmitEntry() responsible for registration.
Use this function in a GameObject to manage what features get registered when this object enters a Scene.
Example:
|
privatevirtual |
Function called by SubmitExit() responsible for deregistration.
Use this function in a GameObject to manage what features get registered when this object exits a Scene.
Example:
|
private |
Function to be called when GameObject enters a scene.
This function is to be called by other classes for when a GameObject enters a scene. Go to SceneEntry() to figure out more.
|
private |
Function to be called when GameObject exits a scene.
This function is to be called by other classes for when a GameObject exits a scene. Go to SceneExit() to figure out more.