From 2365db542ae708399c9ff27f8c1cf4ee140eb71d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Arvid=20Sj=C3=B6blom?= Date: Thu, 9 Nov 2023 16:02:12 +0100 Subject: [PATCH] code skeleton for State.h --- src/State.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) 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 -- 2.30.2