summaryrefslogtreecommitdiff
path: root/src/game_entity.cpp
diff options
context:
space:
mode:
authorJustin Worthe <justin.worthe@gmail.com>2015-06-06 15:39:02 +0200
committerJustin Worthe <justin.worthe@gmail.com>2015-06-06 15:39:02 +0200
commit97d6287a0710ec59d746f6340a796bbe6c7c8aa2 (patch)
treed4dcca538ae99829b808e10261d4d430b4e29278 /src/game_entity.cpp
parent140b51f2bcd9c0aaa5b536d85702064a93530188 (diff)
Abstracted game objects into an entity base class
Diffstat (limited to 'src/game_entity.cpp')
-rw-r--r--src/game_entity.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/game_entity.cpp b/src/game_entity.cpp
new file mode 100644
index 0000000..1b4e7e3
--- /dev/null
+++ b/src/game_entity.cpp
@@ -0,0 +1,5 @@
+#include "game_entity.h"
+
+GameEntity::GameEntity(int x, int y)
+ :_x(x), _y(y)
+{}