Jamie Slowgrove - OOT Assignment 1 - A Mission in Afghanistan
 All Classes Namespaces Files Functions Variables Macros
Public Member Functions | Private Member Functions | Private Attributes | List of all members
GameWorld Class Reference

#include <GameWorld.h>

Inheritance diagram for GameWorld:
Inheritance graph
Collaboration diagram for GameWorld:
Collaboration graph

Public Member Functions

 GameWorld (OgreApplication *application_)
 
 ~GameWorld ()
 
void Run ()
 
void InitilaiseScene ()
 
void CreateEnviroment ()
 
void CreateLights ()
 
void CreateEntities ()
 
void Update (float dt, OIS::Keyboard *keyboard, OIS::Mouse *mouse)
 
void Reset ()
 

Private Member Functions

void UpdateGame (float dt)
 
void UpdateScene (Ogre::Vector3 &pos, Ogre::Quaternion &q)
 
Ogre::Matrix3 rotateX (float angle)
 
void CreateGUI ()
 

Private Attributes

std::shared_ptr< Cameracamera
 
std::shared_ptr< Helicopterhelicopter
 
std::shared_ptr< Turretturret
 
std::shared_ptr< Turretturret2
 
std::shared_ptr< TerrainManagerterrain
 
OgreBites::ParamsPanel * healthPanel
 
OgreBites::ParamsPanel * paramPanel
 
shared_ptr
< OgreBites::SdkTrayManager > 
trayManager
 
Ogre::FrameEvent frameEvent
 
OgreBites::InputContext inputContext
 
Ogre::Vector3 initial_position
 
OgreApplicationapplication
 

Constructor & Destructor Documentation

GameWorld::GameWorld ( OgreApplication application_)
GameWorld::~GameWorld ( )

Member Function Documentation

void GameWorld::CreateEntities ( )

Here is the caller graph for this function:

void GameWorld::CreateEnviroment ( )

Here is the call graph for this function:

Here is the caller graph for this function:

void GameWorld::CreateGUI ( )
private

Here is the call graph for this function:

Here is the caller graph for this function:

void GameWorld::CreateLights ( )

Here is the call graph for this function:

Here is the caller graph for this function:

void GameWorld::InitilaiseScene ( )

Here is the call graph for this function:

Here is the caller graph for this function:

void GameWorld::Reset ( )

Here is the caller graph for this function:

Ogre::Matrix3 GameWorld::rotateX ( float  angle)
private
void GameWorld::Run ( )

Here is the call graph for this function:

void GameWorld::Update ( float  dt,
OIS::Keyboard *  keyboard,
OIS::Mouse *  mouse 
)

Here is the call graph for this function:

Here is the caller graph for this function:

void GameWorld::UpdateGame ( float  dt)
private

Here is the caller graph for this function:

void GameWorld::UpdateScene ( Ogre::Vector3 &  pos,
Ogre::Quaternion &  q 
)
private

Member Data Documentation

OgreApplication* GameWorld::application
private
std::shared_ptr<Camera> GameWorld::camera
private
Ogre::FrameEvent GameWorld::frameEvent
private
OgreBites::ParamsPanel* GameWorld::healthPanel
private
std::shared_ptr<Helicopter> GameWorld::helicopter
private
Ogre::Vector3 GameWorld::initial_position
private
OgreBites::InputContext GameWorld::inputContext
private
OgreBites::ParamsPanel* GameWorld::paramPanel
private
std::shared_ptr<TerrainManager> GameWorld::terrain
private
shared_ptr<OgreBites::SdkTrayManager> GameWorld::trayManager
private
std::shared_ptr<Turret> GameWorld::turret
private
std::shared_ptr<Turret> GameWorld::turret2
private

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