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
Public Member Functions | Static Public Attributes | Protected Member Functions | Protected Attributes
radix::BaseGame Class Reference

#include <external/RadixEngine/include/radix/BaseGame.hpp>

Inherited by glPortal::Game.

Public Member Functions

 BaseGame ()
 
virtual ~BaseGame ()
 
 BaseGame (const BaseGame &)=delete
 
BaseGame operator= (const BaseGame &)=delete
 
 BaseGame (BaseGame &&)=delete
 
BaseGame operator= (BaseGame &&)=delete
 
bool isRunning ()
 
virtual void processInput ()
 
virtual void update ()
 
virtual void cleanUp ()
 
virtual void close ()
 
virtual void render ()
 
void setup ()
 
WorldgetWorld ()
 
ScreenRenderergetScreenRenderer ()
 
GameWorldgetGameWorld ()
 
WindowgetWindow ()
 

Static Public Attributes

static Fps fps
 

Protected Member Functions

void loadMap ()
 
virtual void prepareCamera ()
 
virtual void initHook ()
 

Protected Attributes

Window window
 
World world
 
Config config
 
GameWorld gameWorld
 
std::shared_ptr< ScreenRendererscreenRenderer
 
std::unique_ptr< Rendererrenderer
 
std::unique_ptr< Cameracamera
 
std::shared_ptr< radix::Screenscreen
 
EventDispatcher::CallbackHolder screenshotCallbackHolder
 
std::string defaultMap = "/maps/n1.xml"
 
std::string windowTitle = "RadixEngine"
 
bool closed
 
unsigned int currentTime = 0
 
unsigned int nextUpdate = 0
 
unsigned int lastUpdate = 0
 
unsigned int lastRender = 0
 

Constructor & Destructor Documentation

radix::BaseGame::BaseGame ( )
radix::BaseGame::~BaseGame ( )
virtual
radix::BaseGame::BaseGame ( const BaseGame )
delete
radix::BaseGame::BaseGame ( BaseGame &&  )
delete

Member Function Documentation

void radix::BaseGame::cleanUp ( )
virtual
void radix::BaseGame::close ( )
virtual
GameWorld * radix::BaseGame::getGameWorld ( )
ScreenRenderer * radix::BaseGame::getScreenRenderer ( )
Window& radix::BaseGame::getWindow ( )
inline
World * radix::BaseGame::getWorld ( )
void radix::BaseGame::initHook ( )
protectedvirtual

Reimplemented in glPortal::Game.

bool radix::BaseGame::isRunning ( )
void radix::BaseGame::loadMap ( )
protected
BaseGame radix::BaseGame::operator= ( const BaseGame )
delete
BaseGame radix::BaseGame::operator= ( BaseGame &&  )
delete
void radix::BaseGame::prepareCamera ( )
protectedvirtual
void radix::BaseGame::processInput ( )
virtual

Reimplemented in glPortal::Game.

void radix::BaseGame::render ( )
virtual
void radix::BaseGame::setup ( )
void radix::BaseGame::update ( )
virtual

Reimplemented in glPortal::Game.

Field Documentation

std::unique_ptr<Camera> radix::BaseGame::camera
protected
bool radix::BaseGame::closed
protected
Config radix::BaseGame::config
protected
unsigned int radix::BaseGame::currentTime = 0
protected
std::string radix::BaseGame::defaultMap = "/maps/n1.xml"
protected
Fps radix::BaseGame::fps
static
GameWorld radix::BaseGame::gameWorld
protected
unsigned int radix::BaseGame::lastRender = 0
protected
unsigned int radix::BaseGame::lastUpdate = 0
protected
unsigned int radix::BaseGame::nextUpdate = 0
protected
std::unique_ptr<Renderer> radix::BaseGame::renderer
protected
std::shared_ptr<radix::Screen> radix::BaseGame::screen
protected
std::shared_ptr<ScreenRenderer> radix::BaseGame::screenRenderer
protected
EventDispatcher::CallbackHolder radix::BaseGame::screenshotCallbackHolder
protected
Window radix::BaseGame::window
protected
std::string radix::BaseGame::windowTitle = "RadixEngine"
protected
World radix::BaseGame::world
protected

The documentation for this class was generated from the following files: