Contains the data and functions for the Gameplay. More...
#include <G_Gameplay.h>
Public Member Functions | |
G_Gameplay (C_Vec2 screenDimensions, EP_Player *player, E_EntityManager *entityManager, float *universalSpeed) | |
Constructs the Gameplay object. More... | |
~G_Gameplay () | |
Destructs the Gameplay object. More... | |
void | update (float dt) |
A function to update the Gameplay. More... | |
Private Attributes | |
C_Vec2 | screenDimensions |
The screen dimensions. More... | |
EP_Player * | player |
A pointer to the Player. More... | |
E_EntityManager * | entityManager |
A pointer to the EntityManager. More... | |
G_CollisionManager * | collisionManager |
A pointer to the CollisionManager. More... | |
G_SpawnManager * | spawnManager |
A pointer to the SpawnManager. More... | |
float * | universalSpeed |
A pointer for the universal speed of the game. More... | |
Contains the data and functions for the Gameplay.
G_Gameplay::G_Gameplay | ( | C_Vec2 | screenDimensions, |
EP_Player * | player, | ||
E_EntityManager * | entityManager, | ||
float * | universalSpeed | ||
) |
Constructs the Gameplay object.
screenDimensions | The screen dimensions. |
player | A pointer to the Player. |
entityManager | A pointer to the EntityManager. |
universalSpeed | A pointer for the universal speed of the game. |
G_Gameplay::~G_Gameplay | ( | ) |
Destructs the Gameplay object.
void G_Gameplay::update | ( | float | dt | ) |
A function to update the Gameplay.
dt | The delta time. |
|
private |
A pointer to the CollisionManager.
|
private |
A pointer to the EntityManager.
|
private |
A pointer to the Player.
|
private |
The screen dimensions.
|
private |
A pointer to the SpawnManager.
|
private |
A pointer for the universal speed of the game.