Thrive
Classes | Public Member Functions | Static Public Member Functions | List of all members
thrive::Game Class Reference

The main entry point for the game. More...

#include <game.h>

Classes

struct  Implementation
 

Public Member Functions

 ~Game ()
 Destructor.
 
Engine & engine ()
 Returns the game's engine.
 
void quit ()
 Stops all engines and quits the application.
 
void run ()
 Starts all engines.
 
boost::chrono::microseconds targetFrameDuration () const
 The target frame duration.
 
unsigned short targetFrameRate () const
 The target frame rate.
 

Static Public Member Functions

static Game & instance ()
 Singleton instance.
 

Detailed Description

The main entry point for the game.

The Game class handles instantiation of all the necessary engines.


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