diff options
author | tom <tom@apollo> | 2017-01-11 02:19:07 -0600 |
---|---|---|
committer | tom <tom@apollo> | 2017-01-11 02:19:07 -0600 |
commit | b97a54b8acd113e99871fdb0f683e27e0912bf42 (patch) | |
tree | 0c32320f225569da513a505d73dd72a506f08c95 /src/resource.cpp | |
parent | f6f6d81c5634f659693914b7b74efcdd39ba5d4f (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.cpp | 4 |
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() |