diff options
Diffstat (limited to 'include/game_entity.h')
-rw-r--r-- | include/game_entity.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/include/game_entity.h b/include/game_entity.h new file mode 100644 index 0000000..215333c --- /dev/null +++ b/include/game_entity.h @@ -0,0 +1,13 @@ +#pragma once + +class GameEntity +{ +public: + GameEntity(int x, int y); + int x() const {return _x;} + int y() const {return _y;} +private: + int _x; + int _y; +}; + |