Represents a phase of the game client.
More...
#include <IGameScreen.hpp>
List of all members.
Detailed Description
Represents a phase of the game client.
Definition at line 18 of file IGameScreen.hpp.
Constructor & Destructor Documentation
| virtual yap::IGameScreen::~IGameScreen |
( |
| ) |
|
|
inlinevirtual |
Member Function Documentation
| virtual void yap::IGameScreen::Activate |
( |
| ) |
|
|
pure virtual |
| virtual void yap::IGameScreen::Deactivate |
( |
| ) |
|
|
pure virtual |
| virtual const GuiManager& yap::IGameScreen::GetGuiManager |
( |
| ) |
const |
|
pure virtual |
Gets the root widget of this Screen.
- Returns:
- A constant reference to the root widget of this Screen.
Implemented in yap::GameScreen.
| virtual GuiManager& yap::IGameScreen::GetGuiManager |
( |
| ) |
|
|
pure virtual |
Gets the root widget of this Screen.
- Returns:
- A non-constant reference to the root widget of this Screen.
Implemented in yap::GameScreen.
| virtual const ScreenType& yap::IGameScreen::GetType |
( |
| ) |
const |
|
pure virtual |
| virtual void yap::IGameScreen::Init |
( |
| ) |
|
|
pure virtual |
| virtual void yap::IGameScreen::NextFrame |
( |
| ) |
|
|
pure virtual |
Performs one frame of the screen life.
- Parameters:
-
| dt | Delta time elapsed since last frame. |
| context | Drawing context where are drawn graphical elements. |
- Returns:
- Next screen type that must be executed. By default, the returned type is the type of this Screen.
Implemented in yap::GameScreen.
The documentation for this struct was generated from the following file: