summaryrefslogtreecommitdiff
path: root/inc/resource.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'inc/resource.hpp')
-rw-r--r--inc/resource.hpp3
1 files changed, 2 insertions, 1 deletions
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: