Orxonox  0.0.5 Codename: Arcturus
Public Member Functions | List of all members
orxonox::GSGraphics Class Reference

Game state used when displaying graphics of any kind. More...

#include </home/jenkins/workspace/orxonox_doxygen_trunk/src/orxonox/gamestates/GSGraphics.h>

Inheritance diagram for orxonox::GSGraphics:
orxonox::GameState

Public Member Functions

 GSGraphics (const GameStateInfo &info)
 
 ~GSGraphics ()
 
virtual void activate () override
 This function is called when we enter this game state. More...
 
virtual void deactivate () override
 This function is called when the game state is left. More...
 
virtual void update (const Clock &time) override
 
- Public Member Functions inherited from orxonox::GameState
 GameState (const GameStateInfo &info)
 Constructor only initialises variables and sets the name permanently. More...
 
virtual ~GameState ()
 Destructor only checks that we don't delete an active state. More...
 
State getActivity () const
 
const GameStateInfogetInfo () const
 
const std::string & getName () const
 

Additional Inherited Members

Detailed Description

Game state used when displaying graphics of any kind.

Another blubb resides here.

This game state is only left out if we start a dedicated server where no graphics are present.

Constructor & Destructor Documentation

orxonox::GSGraphics::GSGraphics ( const GameStateInfo info)
orxonox::GSGraphics::~GSGraphics ( )

Member Function Documentation

void orxonox::GSGraphics::activate ( )
overridevirtual

This function is called when we enter this game state.

There is only one thing to do here:

  • create console command to toggle GUI

Reimplemented from orxonox::GameState.

void orxonox::GSGraphics::deactivate ( )
overridevirtual

This function is called when the game state is left.

Reimplemented from orxonox::GameState.

void orxonox::GSGraphics::update ( const Clock time)
overridevirtual

Reimplemented from orxonox::GameState.


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