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
WorldHelper.hpp
Go to the documentation of this file.
1 #ifndef WORLD_HELPER_HPP
2 #define WORLD_HELPER_HPP
3 
4 #include <utility>
5 
6 #include <radix/World.hpp>
7 
8 namespace glPortal {
9 
10 class WorldHelper {
11 public:
12  static void shootPortal(int button, radix::World &world);
13  static radix::EntityPair& getPortalPair(int pair, radix::World &world);
14  static void closePortals(radix::World &world);
15 };
16 
17 } /* namespace glPortal */
18 
19 #endif /* WORLD_HELPER_HPP */
Definition: Screen.hpp:10
static radix::EntityPair & getPortalPair(int pair, radix::World &world)
static void closePortals(radix::World &world)
Definition: WorldHelper.hpp:10
std::pair< Entity *, Entity * > EntityPair
Definition: World.hpp:30
static void shootPortal(int button, radix::World &world)
Definition: World.hpp:32