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:
1f6945b
)
added Game_state.h
author
stian853
<stian853@tlvm-4-4-3.ad.liu.se>
Thu, 9 Nov 2023 15:19:54 +0000
(16:19 +0100)
committer
stian853
<stian853@tlvm-4-4-3.ad.liu.se>
Thu, 9 Nov 2023 15:19:54 +0000
(16:19 +0100)
src/Game_state.h
patch
|
blob
|
history
diff --git
a/src/Game_state.h
b/src/Game_state.h
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..3bdfc8fcd2d88cbd65643b44d7f44ae39023974a 100644
(file)
--- a/
src/Game_state.h
+++ b/
src/Game_state.h
@@
-0,0
+1,21
@@
+#ifndef GAME_STATE_H
+#define GAME_STATE_H
+
+#include <SFML/Graphics.hpp>
+
+#include "State.h"
+
+class Game_state : public State
+{
+ public:
+ void update() override;
+ void render(sf::RenderWindow& window) override;
+ void handle_input();
+
+ protected:
+
+ private:
+
+};
+
+#endif
\ No newline at end of file