From fcf6abaccec7c7ed2fd306a9cf1ec378f303297c Mon Sep 17 00:00:00 2001 From: majortom6 Date: Sun, 19 Feb 2017 10:41:00 -0600 Subject: -refractoring of includes --- inc/resource.hpp | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) (limited to 'inc/resource.hpp') diff --git a/inc/resource.hpp b/inc/resource.hpp index 252b086..07d42d4 100644 --- a/inc/resource.hpp +++ b/inc/resource.hpp @@ -1,20 +1,24 @@ #ifndef resource_h #define resource_h +#include + #include "entity.hpp" #include "functions.hpp" class Resource: public Entity { - public: - Resource(Rectangle t); - int getAmount(){return amount;}; - void grow(); - void eat(int bite); + public: + Resource(Rectangle t); + + void grow(); + void eat(int bite); + + int getAmount(){return amount;}; - private: - int amount; - int growAmount; + private: + int amount; + int growAmount; }; #endif -- cgit v1.2.3