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

Provides access to the game loop related functions of Alarmable. More...

#include <AlarmableAttorney.h>

Static Private Member Functions

static void Trigger (Alarmable *p, AlarmableManager::ALARM_ID i)
 Triggers the alarm for the Alarmable object.
 
static AlarmableManager::StorageMapRefGetRef (Alarmable *p, AlarmableManager::ALARM_ID i)
 Retrieves the storage map reference of the Alarmable object.
 

Friends

class AlarmableManager
 

Detailed Description

Provides access to the game loop related functions of Alarmable.

Member Function Documentation

◆ GetRef()

static AlarmableManager::StorageMapRef & AlarmableAttorney::GameLoop::GetRef ( Alarmable * p,
AlarmableManager::ALARM_ID i )
inlinestaticprivate

Retrieves the storage map reference of the Alarmable object.

Parameters
pPointer to the Alarmable object.
iThe alarm ID.
Returns
Reference to the storage map iterator.
Here is the caller graph for this function:

◆ Trigger()

static void AlarmableAttorney::GameLoop::Trigger ( Alarmable * p,
AlarmableManager::ALARM_ID i )
inlinestaticprivate

Triggers the alarm for the Alarmable object.

Parameters
pPointer to the Alarmable object.
iThe alarm ID to trigger.
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: