projects
/
TDDC76_proj.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2522570
)
code skeleton for State.h
author
Arvid Sjöblom
<arvsj277@student.liu.se>
Thu, 9 Nov 2023 15:02:12 +0000
(16:02 +0100)
committer
Arvid Sjöblom
<arvsj277@student.liu.se>
Thu, 9 Nov 2023 15:02:12 +0000
(16:02 +0100)
src/State.h
patch
|
blob
|
history
diff --git
a/src/State.h
b/src/State.h
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..fa3d2261c297b4bfb341248cb518a7dcf7a8d187 100644
(file)
--- 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