36 #ifndef _GameState_H__ 37 #define _GameState_H__ 73 unsigned activating : 1;
74 unsigned deactivating : 1;
75 unsigned updating : 1;
76 unsigned suspended : 1;
77 unsigned topState : 1;
94 void setActivity(
State activity);
95 void activateInternal();
96 void deactivateInternal();
97 void updateInternal(
const Clock& time);
Shared library macros, enums, constants and forward declarations for the core library ...
::std::string string
Definition: gtest-port.h:756
State getActivity() const
Definition: GameState.h:85
Helper object required before GameStates are being constructed.
Definition: Game.h:66
virtual void activate()
Definition: GameState.h:89
virtual void deactivate()
Definition: GameState.h:90
Die Wagnis Klasse hat die folgenden Aufgaben:
Definition: ApplicationPaths.cc:66
#define _CoreExport
Definition: CorePrereqs.h:61
Shared library macros, enums, constants and forward declarations for the util library ...
virtual void update(const Clock &time)
Definition: GameState.h:91
State activity_
Definition: GameState.h:100
Main class responsible for running the game.
Definition: Game.h:81
An implementation of a tree to manage game states.
Definition: GameState.h:61
Gives information about what the GameState is currently doing.
Definition: GameState.h:70
Simple real time clock based on Ogre::Timer.
Definition: Clock.h:57
const GameStateInfo & info_
Definition: GameState.h:99
const GameStateInfo & getInfo() const
Definition: GameState.h:86