3 #include <boost/chrono.hpp>
54 boost::chrono::microseconds
67 struct Implementation;
68 std::unique_ptr<Implementation> m_impl;
Engine & engine()
Returns the game's engine.
Definition: game.cpp:52
The main entry point for the game.
Definition: game.h:16
void quit()
Stops all engines and quits the application.
Definition: game.cpp:58
void run()
Starts all engines.
Definition: game.cpp:64
Definition: bullet_ogre_conversion.h:6
~Game()
Destructor.
Definition: game.cpp:48
static Game & instance()
Singleton instance.
Definition: game.cpp:36
boost::chrono::microseconds targetFrameDuration() const
The target frame duration.
Definition: game.cpp:101
The heart of the game.
Definition: engine.h:55
unsigned short targetFrameRate() const
The target frame rate.
Definition: game.cpp:107