From c85ebd55fe327125fd4d53d3b62d2b4f145a07a5 Mon Sep 17 00:00:00 2001 From: Justin Worthe Date: Sat, 6 Jun 2015 15:55:54 +0200 Subject: Added logging of other objects in game state --- include/game_entity.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include') 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 + 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; -- cgit v1.2.3