From aaf0a73578ecbb8212e0d224d6fff68a229b1f48 Mon Sep 17 00:00:00 2001 From: tom Date: Tue, 5 May 2015 21:01:52 -0500 Subject: fleshed out list, locations of all creatures and resources are now within --- inc/location.hpp | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 inc/location.hpp (limited to 'inc/location.hpp') diff --git a/inc/location.hpp b/inc/location.hpp new file mode 100644 index 0000000..c4428f5 --- /dev/null +++ b/inc/location.hpp @@ -0,0 +1,17 @@ +#ifndef location_h +#define location_h + +class Location +{ + public: + Location(){x=y=t=0;}; + Location(int x, int y, int z){}; + int getType(){return t;}; + + private: + int x; + int y; + int t; +}; + +#endif -- cgit v1.2.3