From b97a54b8acd113e99871fdb0f683e27e0912bf42 Mon Sep 17 00:00:00 2001 From: tom Date: Wed, 11 Jan 2017 02:19:07 -0600 Subject: -removed all magic numbers and placed them in a constants header -removed unused libraries and redid all header files --- src/resource.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/resource.cpp') diff --git a/src/resource.cpp b/src/resource.cpp index 0c07be3..326c047 100644 --- a/src/resource.cpp +++ b/src/resource.cpp @@ -10,7 +10,7 @@ Resource::Resource(Window m, int size) L.x = rect.x; L.y = rect.y; - amount = 100; + amount = RESOURCE_AMOUNT; } Resource::Resource(Window m, int size, Location z) @@ -23,7 +23,7 @@ Resource::Resource(Window m, int size, Location z) L.x = rect.x; L.y = rect.y; - amount = 200; + amount = RESOURCE_AMOUNT; } void Resource::eat() -- cgit v1.2.3