29 #ifndef NOMLIB_SDL2_APP_HEADERS
30 #define NOMLIB_SDL2_APP_HEADERS
40 #include "nomlib/config.hpp"
41 #include "nomlib/system/Input.hpp"
42 #include "nomlib/system/Timer.hpp"
53 virtual bool onInit (
void );
56 virtual void onQuit (
void );
58 virtual void onEvent ( EventType* );
60 bool isRunning (
void );
61 void Running (
void );
64 uint32 ticks (
void );
66 bool show_fps (
void )
const;
67 void set_show_fps (
bool toggle );
91 #endif // include guard defined
virtual void onQuit(void)
Re-implements nom::Input::onQuit()
bool show_fps_
fps counter
bool PollEvents(EventType *)
Let the user know if there are pending events.
bool app_state
global app state
Timer appTime
global app timer