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

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

#include <SceneAttorney.h>

Static Private Member Functions

static void Delete ()
 Deletes the current scene.
 
static void InitializeScene (Scene *scene)
 Initializes the specified scene.
 
static void Update (Scene *scene)
 Updates the specified scene.
 
static void UpdateScene ()
 Updates the current scene.
 
static void Draw (Scene *scene)
 Draws the specified scene.
 
static void EndScene (Scene *scene)
 Ends the specified scene.
 
static void ChangeScene (Scene *scene)
 Changes the current scene to the specified scene.
 

Friends

class SUNENGINE
 
class SceneManager
 
class SceneChangeStartStrategy
 

Detailed Description

Provides access to the game loop related functions of Scene.

Member Function Documentation

◆ ChangeScene()

static void SceneAttorney::GameLoop::ChangeScene ( Scene * scene)
inlinestaticprivate

Changes the current scene to the specified scene.

Parameters
scenePointer to the scene to change to.
Here is the call graph for this function:
Here is the caller graph for this function:

◆ Draw()

static void SceneAttorney::GameLoop::Draw ( Scene * scene)
inlinestaticprivate

Draws the specified scene.

Parameters
scenePointer to the scene to draw.
Here is the call graph for this function:
Here is the caller graph for this function:

◆ EndScene()

static void SceneAttorney::GameLoop::EndScene ( Scene * scene)
inlinestaticprivate

Ends the specified scene.

Parameters
scenePointer to the scene to end.
Here is the call graph for this function:
Here is the caller graph for this function:

◆ InitializeScene()

static void SceneAttorney::GameLoop::InitializeScene ( Scene * scene)
inlinestaticprivate

Initializes the specified scene.

Parameters
scenePointer to the scene to initialize.
Here is the call graph for this function:
Here is the caller graph for this function:

◆ Update()

static void SceneAttorney::GameLoop::Update ( Scene * scene)
inlinestaticprivate

Updates the specified scene.

Parameters
scenePointer to the scene to update.
Here is the call graph for this function:

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