summaryrefslogtreecommitdiff
path: root/inc/resource.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'inc/resource.hpp')
-rw-r--r--inc/resource.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/resource.hpp b/inc/resource.hpp
index a1dd988..c551844 100644
--- a/inc/resource.hpp
+++ b/inc/resource.hpp
@@ -10,7 +10,7 @@ class Resource: public Entity
Resource(Window m, std::string s);
Resource(Window m, std::string s, Location z);
Location getLocation();
- void eat(){amount-=10;};
+ void eat();
int getAmount(){return amount;};
private: