Sly Engine
|
A game object entity. More...
#include <GameObject.h>
Public Member Functions | |
GameObject () | |
Default constructor. More... | |
GameObject (const GameObject &)=delete | |
Copy constructor. More... | |
GameObject (GameObject &&)=delete | |
Move constructor. More... | |
GameObject & | operator= (const GameObject &)=delete |
Assignment operator. More... | |
GameObject & | operator= (GameObject &&)=delete |
Move assignment operator. More... | |
virtual | ~GameObject () |
Deconstructor. More... | |
void | SubmitEntry () |
Submit object entry. More... | |
void | SubmitExit () |
Submit exit. More... | |
void | ConnectToScene () |
Connects to scene. More... | |
void | DisconnectFromScene () |
Disconnects from scene. More... | |
Public Member Functions inherited from Drawable | |
Drawable () | |
Default constructor. More... | |
Drawable (const Drawable &)=delete | |
Copy constructor. More... | |
Drawable (Drawable &&)=delete | |
Move constructor. More... | |
Drawable & | operator= (const Drawable &)=delete |
Assignment operator. More... | |
Drawable & | operator= (Drawable &&)=delete |
Move assignment operator. More... | |
virtual | ~Drawable () |
Deconstructor. More... | |
Public Member Functions inherited from Updatable | |
Updatable () | |
Default constructor. More... | |
Updatable (const Updatable &)=delete | |
Copy constructor. More... | |
Updatable (Updatable &&)=delete | |
Move constructor. More... | |
Updatable & | operator= (const Updatable &)=delete |
Assignment operator. More... | |
Updatable & | operator= (Updatable &&)=delete |
Move assignment operator. More... | |
virtual | ~Updatable () |
Deconstructor. More... | |
Public Member Functions inherited from Alarmable | |
Alarmable () | |
Default constructor. More... | |
Alarmable (const Alarmable &)=delete | |
Copy constructor. More... | |
Alarmable (Alarmable &&)=delete | |
Move constructor. More... | |
Alarmable & | operator= (const Alarmable &)=delete |
Assignment operator. More... | |
Alarmable & | operator= (Alarmable &&)=delete |
Move assignment operator. More... | |
virtual | ~Alarmable () |
Deconstructor. More... | |
Public Member Functions inherited from Inputable | |
Inputable () | |
Default constructor. More... | |
Inputable (const Inputable &)=delete | |
Copy constructor. More... | |
Inputable (Inputable &&)=delete | |
Move constructor. More... | |
Inputable & | operator= (const Inputable &)=delete |
Assignment operator. More... | |
Inputable & | operator= (Inputable &&)=delete |
Move assignment operator. More... | |
virtual | ~Inputable () |
Deconstructor. More... | |
Public Member Functions inherited from Collidable | |
Collidable () | |
Default constructor. More... | |
Collidable (const Collidable &)=delete | |
Copy constructor. More... | |
Collidable (Collidable &&)=delete | |
Move constructor. More... | |
Collidable & | operator= (const Collidable &)=delete |
Assignment operator. More... | |
Collidable & | operator= (Collidable &&)=delete |
Move assignment operator. More... | |
virtual | ~Collidable () |
Deconstructor. More... | |
CollisionVolumeBSphere & | GetBSphere () |
A reference to the stored Bsphere. More... | |
CollisionVolume & | GetCollisionVolume () |
A reference. More... | |
virtual void | CollisionTerrain () |
Private Member Functions | |
virtual void | SceneEntry () |
Scene entry. More... | |
virtual void | SceneExit () |
Scene exit. More... | |
Private Attributes | |
RegistrationState | RegCurrState |
State of the register curr. More... | |
GameObjectEntryCommand * | pEntryCommand |
The entry command. More... | |
GameObjectExitCommand * | pExitCommand |
The exit command. More... | |
Friends | |
class | GameObjectAttorney |
Additional Inherited Members | |
Public Types inherited from Inputable | |
enum | EVENT_TYPE { KEY_PRESS, KEY_RELEASE } |
Values that represent event types. More... | |
typedef std::pair< AZUL_KEY, EVENT_TYPE > | KeyEvent |
Defines an alias representing the key event. More... | |
typedef std::map< KeyEvent, InputableData > | InputDataMap |
Defines an alias representing the input data map. More... | |
typedef InputDataMap::iterator | InputDataRef |
Defines an alias representing the input data reference. More... | |
Public Types inherited from Collidable | |
enum | VolumeType { VolumeType::BSPHERE, VolumeType::AABB, VolumeType::OBB } |
Public Attributes inherited from Inputable | |
InputDataMap | inMap |
The inputable map. More... | |
Protected Member Functions inherited from Drawable | |
void | SubmitDrawRegistration () |
Submit draw registration. More... | |
void | SubmitDrawDeregistration () |
Submit draw deregistration. More... | |
Protected Member Functions inherited from Updatable | |
void | SubmitUpdateRegistration () |
Submit update registration. More... | |
void | SubmitUpdateDeregistration () |
Submit update deregistration. More... | |
Protected Member Functions inherited from Alarmable | |
void | SubmitAlarmRegistration (int id, float t) |
Submit alarm registration. More... | |
void | SubmitAlarmRegistration (AlarmableManager::ALARM_ID id, float t) |
Submit alarm registration. More... | |
void | SubmitAlarmDeregistration (int id) |
Submit alarm deregistration. More... | |
void | SubmitAlarmDeregistration (AlarmableManager::ALARM_ID id) |
Submit alarm deregistration. More... | |
Protected Member Functions inherited from Inputable | |
void | SubmitKeyRegistration (AZUL_KEY inputKey, EVENT_TYPE e) |
Submit key registration. More... | |
void | SubmitKeyDeregistration (AZUL_KEY inputKey, EVENT_TYPE e) |
Submit key deregistration. More... | |
Protected Member Functions inherited from Collidable | |
template<typename C > | |
void | SetCollidableGroup () |
Sets collidable group. More... | |
void | SubmitCollisionRegistration () |
Submits the collision registration from the user's perspective. More... | |
void | SubmitCollisionDeregistration () |
Submit collision deregistration. More... | |
void | SetColliderModel (Model *mod, VolumeType vol) |
Sets collider model. More... | |
void | UpdateCollisionData (const Matrix &mat) |
Updates the collision data described by mat. More... | |
Protected Attributes inherited from Collidable | |
CollidableGroup::CollidableCollectionRef | pMyDeleteRef |
A game object entity.
All entities will derive from GameObject.
GameObject::GameObject | ( | ) |
Default constructor.
|
delete |
Copy constructor.
|
delete |
Move constructor.
|
virtual |
Deconstructor.
void GameObject::ConnectToScene | ( | ) |
Connects to scene.
void GameObject::DisconnectFromScene | ( | ) |
Disconnects from scene.
|
delete |
Assignment operator.
|
delete |
Move assignment operator.
|
privatevirtual |
|
privatevirtual |
void GameObject::SubmitEntry | ( | ) |
Submit object entry.
void GameObject::SubmitExit | ( | ) |
Submit exit.
|
friend |
|
private |
The entry command.
|
private |
The exit command.
|
private |
State of the register curr.