From 4bb5b05443c36bc6e0a164bc7e324a5486be45ff Mon Sep 17 00:00:00 2001 From: tom Date: Mon, 2 May 2016 18:15:26 -0500 Subject: commiting before refractoring type out of location and into entity --- inc/resource.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'inc/resource.hpp') diff --git a/inc/resource.hpp b/inc/resource.hpp index 5c45f96..968c208 100644 --- a/inc/resource.hpp +++ b/inc/resource.hpp @@ -9,8 +9,9 @@ class Resource: public Entity public: Resource(Window m, std::string s); Resource(Window m, std::string s, Location z); - Location getLocation(); void eat(); + + Location getLocation(){return L;}; int getAmount(){return amount;}; private: -- cgit v1.2.3