summaryrefslogtreecommitdiff
path: root/inc/resource.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'inc/resource.hpp')
-rw-r--r--inc/resource.hpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/inc/resource.hpp b/inc/resource.hpp
index ed9f098..5c740fa 100644
--- a/inc/resource.hpp
+++ b/inc/resource.hpp
@@ -7,12 +7,15 @@ class Resource: public Entity
{
public:
Resource(Window m, SDL_Rect Rect);
- void eat();
+ void eat(int bite);
int getAmount(){return amount;};
+ void grow();
+ int map(int x, int inMin, int inMax, int outMin, int outMax);
private:
int amount;
+ int growAmount;
};
#endif