7 class btDiscreteDynamicsWorld;
22 class StorageContainer;
123 btDiscreteDynamicsWorld*
141 for (
const auto& system : this->systems()) {
142 S* foundSystem =
dynamic_cast<S*
>(system.get());
175 std::vector<std::unique_ptr<System>> systems,
177 std::string guiLayoutName
200 const std::vector<std::unique_ptr<System>>&
212 const StorageContainer& storage
248 struct Implementation;
249 std::unique_ptr<Implementation> m_impl;
EntityManager & entityManager()
Returns the game state's entity manager.
Definition: game_state.cpp:155
std::function< void()> Initializer
Typedef for the game state's initializer function.
Definition: game_state.h:48
Engine & engine()
Returns the engine this game state belongs to.
Definition: game_state.cpp:143
~GameState()
Destructor.
Definition: game_state.cpp:119
Manages entities and their components.
Definition: entity_manager.h:23
Definition: CEGUIWindow.h:17
Ogre::SceneManager * sceneManager() const
The Ogre scene manager.
Definition: game_state.cpp:220
std::string name() const
The game state's name.
Definition: game_state.cpp:201
GameState(const GameState &)=delete
Not copyable.
Definition: bullet_to_ogre_system.h:5
Definition: bullet_ogre_conversion.h:6
static luabind::scope luaBindings()
Lua bindings.
Definition: game_state.cpp:98
Represents a distinct set of active systems and entities.
Definition: game_state.h:41
Definition: debug_drawing.h:8
CEGUIWindow rootGUIWindow()
The root CEGUIWindow.
Definition: game_state.cpp:212
btDiscreteDynamicsWorld * physicsWorld() const
The physics world.
Definition: game_state.cpp:207
The heart of the game.
Definition: engine.h:55
GameState & operator=(const GameState &)=delete
Not copyable.