Thrive
Classes | Public Member Functions | Static Public Member Functions | List of all members
thrive::OgreWorkspaceSystem Class Reference

Creates, updates and removes workspaces. More...

#include <workspace_system.h>

Inheritance diagram for thrive::OgreWorkspaceSystem:
thrive::System

Classes

struct  Implementation
 

Public Member Functions

 OgreWorkspaceSystem ()
 Constructor.
 
 ~OgreWorkspaceSystem ()
 Destructor.
 
void activate () override
 Called by GameState::activate() More...
 
void deactivate () override
 Called by GameState::deactivate() More...
 
void init (GameState *gameState) override
 Initializes the system. More...
 
void shutdown () override
 Shuts the system down.
 
void update (int, int) override
 Updates the system.
 
- Public Member Functions inherited from thrive::System
 System ()
 Constructor.
 
virtual ~System ()=0
 Destructor.
 
bool enabled () const
 Whether this system is enabled. More...
 
Engine * engine () const
 The system's engine. More...
 
EntityManager * entityManager () const
 Returns the system's entity manager. More...
 
GameState * gameState () const
 Returns the system's game state. More...
 
virtual void initNamed (std::string name, GameState *gameState)
 Initializes the system and gives it a name. More...
 
std::string getName ()
 Returns system name.
 
void setEnabled (bool enabled)
 Sets the enabled status of this system. More...
 

Static Public Member Functions

static luabind::scope luaBindings ()
 Lua bindings. More...
 
- Static Public Member Functions inherited from thrive::System
static luabind::scope luaBindings ()
 Lua bindings. More...
 

Detailed Description

Creates, updates and removes workspaces.

Member Function Documentation

void OgreWorkspaceSystem::activate ( )
overridevirtual

Called by GameState::activate()

Override this if you need to restore some internal state when the system's game state is activated.

Reimplemented from thrive::System.

void OgreWorkspaceSystem::deactivate ( )
overridevirtual

Called by GameState::deactivate()

Override this if you need to clear some internal state when the system's game state is deactivated.

Reimplemented from thrive::System.

void OgreWorkspaceSystem::init ( GameState *  gameState)
overridevirtual

Initializes the system.

Parameters
gameState

Reimplemented from thrive::System.

luabind::scope OgreWorkspaceSystem::luaBindings ( )
static

Lua bindings.

Exposes:

  • OgreViewportSystem()
Returns

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