X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fapp%2FState.hpp;fp=src%2Fapp%2FState.hpp;h=2bdd41b238f87518cd56d649add03d0fd11c39c1;hb=afd253b2dd10fdf2d4655d3d4a5766e6aa8c1a2c;hp=0000000000000000000000000000000000000000;hpb=aefc5482b27e3d259b6c9f3f1e4cdd9ef2e6a8d2;p=blank.git diff --git a/src/app/State.hpp b/src/app/State.hpp new file mode 100644 index 0000000..2bdd41b --- /dev/null +++ b/src/app/State.hpp @@ -0,0 +1,23 @@ +#ifndef BLANK_APP_STATE_HPP_ +#define BLANK_APP_STATE_HPP_ + +#include + + +namespace blank { + +class Viewport; + +struct State { + + virtual void Handle(const SDL_Event &) = 0; + + virtual void Update(int dt) = 0; + + virtual void Render(Viewport &) = 0; + +}; + +}; + +#endif