diff options
author | Justin Worthe <justin.worthe@gmail.com> | 2015-06-06 15:55:54 +0200 |
---|---|---|
committer | Justin Worthe <justin.worthe@gmail.com> | 2015-06-06 15:55:54 +0200 |
commit | c85ebd55fe327125fd4d53d3b62d2b4f145a07a5 (patch) | |
tree | 4b3fae12b05155e923d3785b078f5bad43c0e093 /include | |
parent | 97d6287a0710ec59d746f6340a796bbe6c7c8aa2 (diff) |
Added logging of other objects in game state
Diffstat (limited to 'include')
-rw-r--r-- | include/game_entity.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/game_entity.h b/include/game_entity.h index 215333c..09e0bcc 100644 --- a/include/game_entity.h +++ b/include/game_entity.h @@ -1,11 +1,15 @@ #pragma once +#include <string> + class GameEntity { public: GameEntity(int x, int y); int x() const {return _x;} int y() const {return _y;} + + std::string coords() const; private: int _x; int _y; |