summary refs log tree commit diff stats
path: root/src/game.h
diff options
context:
space:
mode:
authorKelly Rauchenberger <fefferburbia@gmail.com>2021-01-30 09:41:31 -0500
committerKelly Rauchenberger <fefferburbia@gmail.com>2021-01-30 09:41:31 -0500
commit410f971972bde37fb852420ea2ca0e2f69f27256 (patch)
tree73262614d4688e4f9a26c97557db5720b049029e /src/game.h
parent78e5bd2e622204d0deab252d9b2ab90c3095b67d (diff)
downloadtanetane-410f971972bde37fb852420ea2ca0e2f69f27256.tar.gz
tanetane-410f971972bde37fb852420ea2ca0e2f69f27256.tar.bz2
tanetane-410f971972bde37fb852420ea2ca0e2f69f27256.zip
Encapsulated some player movement stuff
Imported vector from therapy5
Diffstat (limited to 'src/game.h')
-rw-r--r--src/game.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/game.h b/src/game.h index 46f1ab2..bb99543 100644 --- a/src/game.h +++ b/src/game.h
@@ -4,6 +4,13 @@
4#include <vector> 4#include <vector>
5#include "sprite.h" 5#include "sprite.h"
6 6
7struct Input {
8 bool left = false;
9 bool right = false;
10 bool up = false;
11 bool down = false;
12};
13
7class Game { 14class Game {
8public: 15public:
9 16