SUNENGINE 0.0.2
A simple and bright C++ game engine.
 
Loading...
Searching...
No Matches
SceneAttorney::Registration Class Reference

Provides access to the registration related functions of Scene. More...

#include <SceneAttorney.h>

Static Private Member Functions

static void Register (Updatable *up)
 Registers the specified updatable object in the current scene.
 
static void Deregister (Updatable *up)
 Deregisters the specified updatable object from the current scene.
 
static void Register (Drawable *dr)
 Registers the specified drawable object in the current scene.
 
static void Deregister (Drawable *dr)
 Deregisters the specified drawable object from the current scene.
 
static void Register (Alarmable *al, AlarmableManager::ALARM_ID id, float t)
 Registers the specified alarmable object in the current scene.
 
static void Deregister (Alarmable *al, AlarmableManager::ALARM_ID id)
 Deregisters the specified alarmable object from the current scene.
 
static void Register (Inputable *in, AZUL_KEY k, EventType e)
 Registers the specified inputable object in the current scene.
 
static void Deregister (Inputable *in, AZUL_KEY k, EventType e)
 Deregisters the specified inputable object from the current scene.
 
static void Register (Inputable *in, AZUL_MOUSE m, EventType e)
 Registers the specified inputable object in the current scene.
 
static void Deregister (Inputable *in, AZUL_MOUSE m, EventType e)
 Deregisters the specified inputable object from the current scene.
 
static void SubmitCommand (CommandBase *cmd)
 Submits a command to the current scene.
 
static CollisionManagerGetCollisionManager ()
 Gets the collision manager for the current scene.
 

Friends

class GameObject
 
class Updatable
 
class Drawable
 
class Alarmable
 
class Inputable
 
class Collidable
 

Detailed Description

Provides access to the registration related functions of Scene.

Member Function Documentation

◆ Deregister() [1/5]

static void SceneAttorney::Registration::Deregister ( Alarmable * al,
AlarmableManager::ALARM_ID id )
inlinestaticprivate

Deregisters the specified alarmable object from the current scene.

Parameters
alPointer to the alarmable object.
idThe alarm ID to deregister.
Here is the call graph for this function:

◆ Deregister() [2/5]

static void SceneAttorney::Registration::Deregister ( Drawable * dr)
inlinestaticprivate

Deregisters the specified drawable object from the current scene.

Parameters
drPointer to the drawable object.
Here is the call graph for this function:

◆ Deregister() [3/5]

static void SceneAttorney::Registration::Deregister ( Inputable * in,
AZUL_KEY k,
EventType e )
inlinestaticprivate

Deregisters the specified inputable object from the current scene.

Parameters
inPointer to the inputable object.
kThe key to deregister.
eThe event type to deregister.
Here is the call graph for this function:

◆ Deregister() [4/5]

static void SceneAttorney::Registration::Deregister ( Inputable * in,
AZUL_MOUSE m,
EventType e )
inlinestaticprivate

Deregisters the specified inputable object from the current scene.

Parameters
inPointer to the inputable object.
mThe mouse key to deregister.
eThe event type to deregister.
Here is the call graph for this function:

◆ Deregister() [5/5]

static void SceneAttorney::Registration::Deregister ( Updatable * up)
inlinestaticprivate

Deregisters the specified updatable object from the current scene.

Parameters
upPointer to the updatable object.
Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetCollisionManager()

static CollisionManager * SceneAttorney::Registration::GetCollisionManager ( )
inlinestaticprivate

Gets the collision manager for the current scene.

Returns
Pointer to the collision manager.
Here is the call graph for this function:
Here is the caller graph for this function:

◆ Register() [1/5]

static void SceneAttorney::Registration::Register ( Alarmable * al,
AlarmableManager::ALARM_ID id,
float t )
inlinestaticprivate

Registers the specified alarmable object in the current scene.

Parameters
alPointer to the alarmable object.
idThe alarm ID to register.
tThe time duration for the alarm.
Here is the call graph for this function:

◆ Register() [2/5]

static void SceneAttorney::Registration::Register ( Drawable * dr)
inlinestaticprivate

Registers the specified drawable object in the current scene.

Parameters
drPointer to the drawable object.
Here is the call graph for this function:

◆ Register() [3/5]

static void SceneAttorney::Registration::Register ( Inputable * in,
AZUL_KEY k,
EventType e )
inlinestaticprivate

Registers the specified inputable object in the current scene.

Parameters
inPointer to the inputable object.
kThe key to register.
eThe event type to register.
Here is the call graph for this function:

◆ Register() [4/5]

static void SceneAttorney::Registration::Register ( Inputable * in,
AZUL_MOUSE m,
EventType e )
inlinestaticprivate

Registers the specified inputable object in the current scene.

Parameters
inPointer to the inputable object.
mThe mouse key to register.
eThe event type to register.
Here is the call graph for this function:

◆ Register() [5/5]

static void SceneAttorney::Registration::Register ( Updatable * up)
inlinestaticprivate

Registers the specified updatable object in the current scene.

Parameters
upPointer to the updatable object.
Here is the call graph for this function:
Here is the caller graph for this function:

◆ SubmitCommand()

static void SceneAttorney::Registration::SubmitCommand ( CommandBase * cmd)
inlinestaticprivate

Submits a command to the current scene.

Parameters
cmdPointer to the command.
Here is the call graph for this function:
Here is the caller graph for this function:

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