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

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

#include <InputableAttorney.h>

Static Private Member Functions

static void ProcessKeyInactive (Inputable *in, AZUL_KEY k)
 Processes the key inactive event for the Inputable object.
 
static void ProcessKeyPress (Inputable *in, AZUL_KEY k)
 Processes the key press event for the Inputable object.
 
static void ProcessKeyHeld (Inputable *in, AZUL_KEY k)
 Processes the key held event for the Inputable object.
 
static void ProcessKeyRelease (Inputable *in, AZUL_KEY k)
 Processes the key release event for the Inputable object.
 
static void ProcessMouseKeyInactive (Inputable *in, AZUL_MOUSE m)
 Processes the key inactive event for the Inputable object.
 
static void ProcessMouseKeyPress (Inputable *in, AZUL_MOUSE m)
 Processes the key press event for the Inputable object.
 
static void ProcessMouseKeyHeld (Inputable *in, AZUL_MOUSE m)
 Processes the key held event for the Inputable object.
 
static void ProcessMouseKeyRelease (Inputable *in, AZUL_MOUSE m)
 Processes the key release event for the Inputable object.
 
static void SetDeleteRef (Inputable *in, AZUL_KEY k, EventType e, KeyboardEventManager::StorageMapRef &ref)
 Sets the delete reference for the Inputable object.
 
static void SetDeleteRef (Inputable *in, AZUL_MOUSE m, EventType e, KeyboardEventManager::StorageMapMouseRef &ref)
 Sets the delete reference for the Inputable object.
 
static KeyboardEventManager::StorageMapRefGetRef (Inputable *in, AZUL_KEY k, EventType e)
 Retrieves the storage map reference for the Inputable object.
 
static KeyboardEventManager::StorageMapMouseRefGetRef (Inputable *in, AZUL_MOUSE m, EventType e)
 Retrieves the storage map reference for the Inputable object.
 

Friends

class KeyboardEventManager
 
class SingleKeyEventManager
 
class MouseKeyEventManager
 

Detailed Description

Provides access to the game loop related functions of Inputable.

Member Function Documentation

◆ GetRef() [1/2]

static KeyboardEventManager::StorageMapRef & InputableAttorney::GameLoop::GetRef ( Inputable * in,
AZUL_KEY k,
EventType e )
inlinestaticprivate

Retrieves the storage map reference for the Inputable object.

Parameters
inPointer to the Inputable object.
kThe key.
eThe event type.
Returns
Reference to the storage map iterator.
Here is the caller graph for this function:

◆ GetRef() [2/2]

static KeyboardEventManager::StorageMapMouseRef & InputableAttorney::GameLoop::GetRef ( Inputable * in,
AZUL_MOUSE m,
EventType e )
inlinestaticprivate

Retrieves the storage map reference for the Inputable object.

Parameters
inPointer to the Inputable object.
mThe mouse key.
eThe event type.
Returns
Reference to the storage map iterator.

◆ ProcessKeyHeld()

static void InputableAttorney::GameLoop::ProcessKeyHeld ( Inputable * in,
AZUL_KEY k )
inlinestaticprivate

Processes the key held event for the Inputable object.

Parameters
inPointer to the Inputable object.
kThe key that is held.
Here is the call graph for this function:
Here is the caller graph for this function:

◆ ProcessKeyInactive()

static void InputableAttorney::GameLoop::ProcessKeyInactive ( Inputable * in,
AZUL_KEY k )
inlinestaticprivate

Processes the key inactive event for the Inputable object.

Parameters
inPointer to the Inputable object.
kThe key that is inactive.
Here is the call graph for this function:
Here is the caller graph for this function:

◆ ProcessKeyPress()

static void InputableAttorney::GameLoop::ProcessKeyPress ( Inputable * in,
AZUL_KEY k )
inlinestaticprivate

Processes the key press event for the Inputable object.

Parameters
inPointer to the Inputable object.
kThe key that is pressed.
Here is the call graph for this function:
Here is the caller graph for this function:

◆ ProcessKeyRelease()

static void InputableAttorney::GameLoop::ProcessKeyRelease ( Inputable * in,
AZUL_KEY k )
inlinestaticprivate

Processes the key release event for the Inputable object.

Parameters
inPointer to the Inputable object.
kThe key that is released.
Here is the call graph for this function:
Here is the caller graph for this function:

◆ ProcessMouseKeyHeld()

static void InputableAttorney::GameLoop::ProcessMouseKeyHeld ( Inputable * in,
AZUL_MOUSE m )
inlinestaticprivate

Processes the key held event for the Inputable object.

Parameters
inPointer to the Inputable object.
mThe mouse key that is held.
Here is the call graph for this function:
Here is the caller graph for this function:

◆ ProcessMouseKeyInactive()

static void InputableAttorney::GameLoop::ProcessMouseKeyInactive ( Inputable * in,
AZUL_MOUSE m )
inlinestaticprivate

Processes the key inactive event for the Inputable object.

Parameters
inPointer to the Inputable object.
mThe mouse key that is inactive.
Here is the call graph for this function:
Here is the caller graph for this function:

◆ ProcessMouseKeyPress()

static void InputableAttorney::GameLoop::ProcessMouseKeyPress ( Inputable * in,
AZUL_MOUSE m )
inlinestaticprivate

Processes the key press event for the Inputable object.

Parameters
inPointer to the Inputable object.
mThe mouse key that is pressed.
Here is the call graph for this function:
Here is the caller graph for this function:

◆ ProcessMouseKeyRelease()

static void InputableAttorney::GameLoop::ProcessMouseKeyRelease ( Inputable * in,
AZUL_MOUSE m )
inlinestaticprivate

Processes the key release event for the Inputable object.

Parameters
inPointer to the Inputable object.
mThe mouse key that is released.
Here is the call graph for this function:
Here is the caller graph for this function:

◆ SetDeleteRef() [1/2]

static void InputableAttorney::GameLoop::SetDeleteRef ( Inputable * in,
AZUL_KEY k,
EventType e,
KeyboardEventManager::StorageMapRef & ref )
inlinestaticprivate

Sets the delete reference for the Inputable object.

Parameters
inPointer to the Inputable object.
kThe key.
eThe event type.
refReference to the storage map iterator.
Here is the caller graph for this function:

◆ SetDeleteRef() [2/2]

static void InputableAttorney::GameLoop::SetDeleteRef ( Inputable * in,
AZUL_MOUSE m,
EventType e,
KeyboardEventManager::StorageMapMouseRef & ref )
inlinestaticprivate

Sets the delete reference for the Inputable object.

Parameters
inPointer to the Inputable object.
mThe mouse key.
eThe event type.
refReference to the storage map iterator.

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