summaryrefslogtreecommitdiff
path: root/src/resource.cpp
diff options
context:
space:
mode:
authortom <tom@apollo>2017-01-11 02:19:07 -0600
committertom <tom@apollo>2017-01-11 02:19:07 -0600
commitb97a54b8acd113e99871fdb0f683e27e0912bf42 (patch)
tree0c32320f225569da513a505d73dd72a506f08c95 /src/resource.cpp
parentf6f6d81c5634f659693914b7b74efcdd39ba5d4f (diff)
-removed all magic numbers and placed them in a constants header
-removed unused libraries and redid all header files
Diffstat (limited to 'src/resource.cpp')
-rw-r--r--src/resource.cpp4
1 files changed, 2 insertions, 2 deletions
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()