SDL2 application template class.
Create your own application class, which needs to be a public SDLApp:
class Application : public SDLApp
This class needs 2 methos: void draw(void)
and void events(void)
.
These methods are called by sdlApp after launching yourApp.runApp().
To stop and close the app your class need to call the close method
A basic class and main template are included in the repository. (src/application.* and src/main.cpp)