summaryrefslogtreecommitdiff
path: root/inc/resource.hpp
diff options
context:
space:
mode:
authoriamn1ck <iamn1ck@yahoo.com>2017-02-19 07:00:34 -0600
committerTom Barrett <tombarrett@siu.edu>2017-03-07 13:22:46 -0600
commit74c6854fd8dcbaee736ac0421805ff1e03c4a1e2 (patch)
tree4a3ae40bea9b07a2111128e98d9272bdbac2af87 /inc/resource.hpp
parent03885192b9ff7d3c5e2dcfd98aefd21e9b62f603 (diff)
-quadtree and opengl rendering are now in the master branch !
-using sdl_rect for location and size ended up being not so great due to it not having floats, so we reverted back to using location -much, much refractoring is now needed
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 89f6c45..ce8ef5b 100644
--- a/inc/resource.hpp
+++ b/inc/resource.hpp
@@ -7,7 +7,7 @@
class Resource: public Entity
{
public:
- Resource(Window m, SDL_Rect R);
+ Resource(Location L);
int getAmount(){return amount;};
void grow();
void eat(int bite);