1 #ifndef BLANK_APP_STATE_HPP_
2 #define BLANK_APP_STATE_HPP_
9 class HeadlessApplication;
14 friend class Application;
15 friend class HeadlessApplication;
17 virtual void Handle(const SDL_Event &) = 0;
19 virtual void Update(int dt) = 0;
21 virtual void Render(Viewport &) = 0;
27 virtual void OnEnter() { }
28 virtual void OnResume() { }
29 virtual void OnPause() { }
30 virtual void OnExit() { }
32 virtual void OnFocus() { }
33 virtual void OnBlur() { }
34 virtual void OnResize(Viewport &) { }