summaryrefslogtreecommitdiff
path: root/inc/location.hpp
diff options
context:
space:
mode:
authortom <tom@ground-control>2016-05-02 18:23:19 -0500
committertom <tom@ground-control>2016-05-02 18:23:19 -0500
commit0346965968fb5da1a52ed8f896a922c63ce180f6 (patch)
tree917da10ed0e0e86a76abe4f3634cb6cf5b8a4fc6 /inc/location.hpp
parent4bb5b05443c36bc6e0a164bc7e324a5486be45ff (diff)
done refractoring type
Diffstat (limited to 'inc/location.hpp')
-rw-r--r--inc/location.hpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/inc/location.hpp b/inc/location.hpp
index 0e3ee23..5392e9b 100644
--- a/inc/location.hpp
+++ b/inc/location.hpp
@@ -4,11 +4,10 @@
class Location
{
public:
- Location(int x1, int y1, int t1){x=x1;y=y1;type=t1;};
- Location(){x=y=type=0;};
+ Location(int x1, int y1){x=x1;y=y1;};
+ Location(){x=y=0;};
int x;
- int y;
- int type; //value associated with type of entity at location. 1: Creature, 2: Resource
+ int y;
};
#endif