From: Arvid Sjöblom Date: Thu, 9 Nov 2023 15:02:12 +0000 (+0100) Subject: code skeleton for State.h X-Git-Url: https://gitweb.forssennils.se/?a=commitdiff_plain;h=2365db542ae708399c9ff27f8c1cf4ee140eb71d;p=TDDC76_proj.git code skeleton for State.h --- diff --git a/src/State.h b/src/State.h index e69de29..fa3d226 100644 --- a/src/State.h +++ b/src/State.h @@ -0,0 +1,12 @@ +#ifndef STATE_H +#define STATE_H + +class State +{ +public: + virtual void update(Context) = 0; + virtual void render(Window) = 0; + virtual void hande_input() = 0; + virtual ~State() = default; +}; +#endif \ No newline at end of file