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

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

#include <G_CollisionManager.h>

Collaboration diagram for G_CollisionManager:
Collaboration graph

Public Member Functions

 G_CollisionManager (EP_Player *player, E_EntityManager *entityManager, float *universalSpeed)
 Constructs the CollisionManager. More...
 
 ~G_CollisionManager ()
 Destructs the G_CollisionManager. More...
 
void entityCollisionDetection ()
 A function that handles all of the collision detection between the player and the entities. More...
 

Private Member Functions

void playerStyphBirdCollisionDetection (EE_StyphBird *styphBird)
 A function that handles all of the collision detection between the Player and a StymphBird. More...
 
void playerStormCloudCollisionDetection (EE_StormCloud *stormCloud)
 A function that handles all of the collision detection between the Player and a StormCloud. More...
 
void playerArrowCollisionDetection (EA_Arrow *arrow)
 A function that handles all of the collision detection between the Player and an Arrow. More...
 
void playerCoinCollisionDetection (EPU_Coin *coin)
 A function that handles all of the collision detection between the Player and a Coin. More...
 
void playerHealthCollisionDetection (EPU_Health *health)
 A function that handles all of the collision detection between the Player and a Health pickup. More...
 
void playerFlamingCollisionDetection (EPU_Flaming *flaming)
 A function that handles all of the collision detection between the Player and a Flaming pickup. More...
 
void playerCoinAllCollisionDetection (EPU_CoinAll *coinAll)
 A function that handles all of the collision detection between the Player and a CoinAll pickup. More...
 
void playerKillAllCollisionDetection (EPU_KillAll *killAll)
 A function that handles all of the collision detection between the Player and a KillAll pickup. More...
 
void playerShieldCollisionDetection (EPU_Shield *shield)
 A function that handles all of the collision detection between the Player and a Shield pickup. More...
 
void playerTimeSlowCollisionDetection (EPU_TimeSlow *timeSlow)
 A function that handles all of the collision detection between the Player and a TimeSlow pickup. More...
 
void arrowStyphBirdCollisionDetection (EA_Arrow *arrow, EE_StyphBird *styphBird)
 A function that handles all of the collision detection between an Arrow and a StyphBird. More...
 
void arrowArcherCollisionDetection (EA_Arrow *arrow, EE_Archer *archer)
 A function that handles all of the collision detection between an Arrow and an Archer. More...
 

Private Attributes

EP_Playerplayer
 A pointer to the Player. More...
 
E_EntityManagerentityManager
 A pointer to the EntityManager. More...
 
float * universalSpeed
 A pointer for the universal speed of the game. More...
 

Detailed Description

Contains the data and functions for the CollisionManager.

Author
Jamie Slowgrove

Constructor & Destructor Documentation

G_CollisionManager::G_CollisionManager ( EP_Player player,
E_EntityManager entityManager,
float *  universalSpeed 
)

Constructs the CollisionManager.

Parameters
playerA pointer to the Player.
entityManagerA pointer to the EntityManager.
universalSpeedA pointer for the universal speed of the game.
G_CollisionManager::~G_CollisionManager ( )

Destructs the G_CollisionManager.

Member Function Documentation

void G_CollisionManager::arrowArcherCollisionDetection ( EA_Arrow arrow,
EE_Archer archer 
)
private

A function that handles all of the collision detection between an Arrow and an Archer.

Parameters
arrowA pointer to the Arrow.
archerA pointer to the Archer.

Here is the call graph for this function:

Here is the caller graph for this function:

void G_CollisionManager::arrowStyphBirdCollisionDetection ( EA_Arrow arrow,
EE_StyphBird styphBird 
)
private

A function that handles all of the collision detection between an Arrow and a StyphBird.

Parameters
arrowA pointer to the Arrow.
styphBirdA pointer to the StyphBird.

Here is the call graph for this function:

Here is the caller graph for this function:

void G_CollisionManager::entityCollisionDetection ( )

A function that handles all of the collision detection between the player and the entities.

Here is the call graph for this function:

Here is the caller graph for this function:

void G_CollisionManager::playerArrowCollisionDetection ( EA_Arrow arrow)
private

A function that handles all of the collision detection between the Player and an Arrow.

Parameters
arrowA pointer to the Arrow.

Here is the call graph for this function:

Here is the caller graph for this function:

void G_CollisionManager::playerCoinAllCollisionDetection ( EPU_CoinAll coinAll)
private

A function that handles all of the collision detection between the Player and a CoinAll pickup.

Parameters
coinAllA pointer to the CoinAll.

Here is the call graph for this function:

Here is the caller graph for this function:

void G_CollisionManager::playerCoinCollisionDetection ( EPU_Coin coin)
private

A function that handles all of the collision detection between the Player and a Coin.

Parameters
coinA pointer to the Coin.

Here is the call graph for this function:

Here is the caller graph for this function:

void G_CollisionManager::playerFlamingCollisionDetection ( EPU_Flaming flaming)
private

A function that handles all of the collision detection between the Player and a Flaming pickup.

Parameters
flamingA pointer to the Flaming.

Here is the call graph for this function:

Here is the caller graph for this function:

void G_CollisionManager::playerHealthCollisionDetection ( EPU_Health health)
private

A function that handles all of the collision detection between the Player and a Health pickup.

Parameters
helathA pointer to the Health.

Here is the call graph for this function:

Here is the caller graph for this function:

void G_CollisionManager::playerKillAllCollisionDetection ( EPU_KillAll killAll)
private

A function that handles all of the collision detection between the Player and a KillAll pickup.

Parameters
killAllA pointer to the KillAll.

Here is the call graph for this function:

Here is the caller graph for this function:

void G_CollisionManager::playerShieldCollisionDetection ( EPU_Shield shield)
private

A function that handles all of the collision detection between the Player and a Shield pickup.

Parameters
shieldA pointer to the Shield.

Here is the call graph for this function:

Here is the caller graph for this function:

void G_CollisionManager::playerStormCloudCollisionDetection ( EE_StormCloud stormCloud)
private

A function that handles all of the collision detection between the Player and a StormCloud.

Parameters
stormCloudA pointer to the StormCloud.

Here is the call graph for this function:

Here is the caller graph for this function:

void G_CollisionManager::playerStyphBirdCollisionDetection ( EE_StyphBird styphBird)
private

A function that handles all of the collision detection between the Player and a StymphBird.

Parameters
styphBirdA pointer to the StyphBird.

Here is the call graph for this function:

Here is the caller graph for this function:

void G_CollisionManager::playerTimeSlowCollisionDetection ( EPU_TimeSlow timeSlow)
private

A function that handles all of the collision detection between the Player and a TimeSlow pickup.

Parameters
shieldA pointer to the TimeSlow.

Here is the call graph for this function:

Here is the caller graph for this function:

Member Data Documentation

E_EntityManager* G_CollisionManager::entityManager
private

A pointer to the EntityManager.

EP_Player* G_CollisionManager::player
private

A pointer to the Player.

float* G_CollisionManager::universalSpeed
private

A pointer for the universal speed of the game.


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