1 #ifndef GONG_APP_APPLICATION_HPP_
2 #define GONG_APP_APPLICATION_HPP_
4 #include "HeadlessApplication.hpp"
16 : public HeadlessApplication {
19 explicit Application(Environment &);
22 Application(const Application &) = delete;
23 Application &operator =(const Application &) = delete;
25 void Loop(int dt) override;
27 /// process all events in SDL's queue
29 void Handle(const SDL_Event &);
30 void Handle(const SDL_WindowEvent &);
31 /// integrate to the next step with dt milliseconds passed
33 /// push the current state to display