Sky Zone Omega - PC Version
 All Classes Namespaces Files Functions Variables Macros
Public Member Functions | Private Attributes | List of all members
G_Gameplay Class Reference

Contains the data and functions for the Gameplay. More...

#include <G_Gameplay.h>

Collaboration diagram for G_Gameplay:
Collaboration graph

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_Playerplayer
 A pointer to the Player. More...
 
E_EntityManagerentityManager
 A pointer to the EntityManager. More...
 
G_CollisionManagercollisionManager
 A pointer to the CollisionManager. More...
 
G_SpawnManagerspawnManager
 A pointer to the SpawnManager. More...
 
float * universalSpeed
 A pointer for the universal speed of the game. More...
 

Detailed Description

Contains the data and functions for the Gameplay.

Author
Jamie Slowgrove

Constructor & Destructor Documentation

G_Gameplay::G_Gameplay ( C_Vec2  screenDimensions,
EP_Player player,
E_EntityManager entityManager,
float *  universalSpeed 
)

Constructs the Gameplay object.

Parameters
screenDimensionsThe screen dimensions.
playerA pointer to the Player.
entityManagerA pointer to the EntityManager.
universalSpeedA pointer for the universal speed of the game.
G_Gameplay::~G_Gameplay ( )

Destructs the Gameplay object.

Member Function Documentation

void G_Gameplay::update ( float  dt)

A function to update the Gameplay.

Parameters
dtThe delta time.

Here is the call graph for this function:

Here is the caller graph for this function:

Member Data Documentation

G_CollisionManager* G_Gameplay::collisionManager
private

A pointer to the CollisionManager.

E_EntityManager* G_Gameplay::entityManager
private

A pointer to the EntityManager.

EP_Player* G_Gameplay::player
private

A pointer to the Player.

C_Vec2 G_Gameplay::screenDimensions
private

The screen dimensions.

G_SpawnManager* G_Gameplay::spawnManager
private

A pointer to the SpawnManager.

float* G_Gameplay::universalSpeed
private

A pointer for the universal speed of the game.


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