GlPortal Class Reference  0.1.1
Source code documentation of the free and open 3D action puzzle game.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
GameWorld.hpp
Go to the documentation of this file.
1 #ifndef RADIX_GAME_WORLD_HPP
2 #define RADIX_GAME_WORLD_HPP
3 
4 #include <list>
7 
8 namespace radix {
9 
10 class GameWorld {
11 public:
13  GameWorld(InputSource &input);
14  void addScreen(Screen& screen);
15  std::list<Screen*>* getScreens();
16 private:
17  std::list<Screen*> screens;
18 };
19 
20 } /* namespace radix */
21 
22 #endif /* RADIX_GAME_WORLD_HPP */
Definition: GameController.hpp:7
GameWorld(InputSource &input)
Definition: GameWorld.cpp:4
Definition: InputSource.hpp:16
InputSource & input
Definition: GameWorld.hpp:12
Definition: Screen.hpp:11
std::list< Screen * > screens
Definition: GameWorld.hpp:17
Definition: GameWorld.hpp:10
void addScreen(Screen &screen)
Definition: GameWorld.cpp:8
std::list< Screen * > * getScreens()
Definition: GameWorld.cpp:12