OpenRaider  0.1.4-dev
Open Source Tomb Raider Game Engine implementation
Static Public Member Functions | Static Private Attributes | List of all members
Game Class Reference

#include <Game.h>

Static Public Member Functions

static void destroy ()
 
static bool isLoaded ()
 
static int loadLevel (std::string level)
 
static void handleAction (ActionEvents action, bool isFinished)
 
static void handleMouseMotion (int xrel, int yrel, int xabs, int yabs)
 
static void handleControllerAxis (float value, KeyboardButton axis)
 
static EntitygetLara ()
 
static void setLara (long lara)
 

Static Private Attributes

static bool mLoaded = false
 
static long mLara = -1
 
static bool activeEvents [ActionEventCount]
 

Detailed Description

Definition at line 15 of file Game.h.

Member Function Documentation

void Game::destroy ( )
static

Definition at line 25 of file Game.cpp.

static bool Game::isLoaded ( )
inlinestatic

Definition at line 19 of file Game.h.

int Game::loadLevel ( std::string  level)
static

Definition at line 41 of file Game.cpp.

void Game::handleAction ( ActionEvents  action,
bool  isFinished 
)
static

Definition at line 84 of file Game.cpp.

void Game::handleMouseMotion ( int  xrel,
int  yrel,
int  xabs,
int  yabs 
)
static

Definition at line 101 of file Game.cpp.

void Game::handleControllerAxis ( float  value,
KeyboardButton  axis 
)
static

Definition at line 108 of file Game.cpp.

Entity & Game::getLara ( )
static

Definition at line 115 of file Game.cpp.

void Game::setLara ( long  lara)
static

Definition at line 121 of file Game.cpp.

Member Data Documentation

bool Game::mLoaded = false
staticprivate

Definition at line 30 of file Game.h.

long Game::mLara = -1
staticprivate

Definition at line 31 of file Game.h.

bool Game::activeEvents
staticprivate

Definition at line 32 of file Game.h.


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