GlPortal Class Reference
0.1.1
Source code documentation of the free and open 3D action puzzle game.
|
#include <external/RadixEngine/include/radix/World.hpp>
Inherited by glPortal::World.
Public Member Functions | |
World (InputSource &input) | |
void | setConfig (radix::Config &config) |
radix::Config & | getConfig () |
~World () | |
void | create () |
void | destroy () |
double | getTime () const |
void | update (TDelta dtime) |
Entity & | getPlayer () |
Entity & | getEntityById (EntityId id) |
Gets the reference to the entity with specified ID. More... | |
Entity & | getEntityByName (const std::string &name) |
Gets the reference to the entity with specified name. More... | |
Data Fields | |
InputSource & | input |
Camera | camera |
std::map< int, Material > | materials |
EventDispatcher | event |
SystemManager | systems |
EntityManager | entities |
std::map< std::string, Entity * > | entityAliases |
std::map< std::string, std::vector< Entity * > > | entityGroups |
std::map< std::string, std::vector< EntityPair > > | entityPairs |
std::stack< HandleGameFunction > | stateFunctionStack |
Protected Attributes | |
Entity * | player |
Private Attributes | |
radix::Config | config |
double | gameTime |
uint32_t | lastUpdateTime |
radix::World::World | ( | InputSource & | input | ) |
radix::World::~World | ( | ) |
void radix::World::create | ( | ) |
void radix::World::destroy | ( | ) |
radix::Config & radix::World::getConfig | ( | ) |
Gets the reference to the entity with specified ID.
std::out_of_range | if no entity with this ID is found. |
|
inline |
Gets the reference to the entity with specified name.
std::out_of_range | if no entity with this name is found. |
Entity & radix::World::getPlayer | ( | ) |
|
inline |
void radix::World::setConfig | ( | radix::Config & | config | ) |
void radix::World::update | ( | TDelta | dtime | ) |
Camera radix::World::camera |
|
private |
EntityManager radix::World::entities |
std::map<std::string, Entity*> radix::World::entityAliases |
std::map<std::string, std::vector<Entity*> > radix::World::entityGroups |
std::map<std::string, std::vector<EntityPair> > radix::World::entityPairs |
EventDispatcher radix::World::event |
|
private |
InputSource& radix::World::input |
|
private |
std::map<int, Material> radix::World::materials |
|
protected |
std::stack<HandleGameFunction> radix::World::stateFunctionStack |
SystemManager radix::World::systems |