diff options
author | tom <tom@ground-control> | 2016-05-02 16:08:20 -0500 |
---|---|---|
committer | tom <tom@ground-control> | 2016-05-02 16:08:20 -0500 |
commit | 42d7b3bb511333e242a74f360873deb64cd89522 (patch) | |
tree | fdc15da04b62c7a865933aaea49996e719f60ac7 /inc/location.hpp | |
parent | 2b17703707dab3af620fe05a73f05fc6f856e0b1 (diff) |
spring cleaning
Diffstat (limited to 'inc/location.hpp')
-rw-r--r-- | inc/location.hpp | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/inc/location.hpp b/inc/location.hpp index e45642d..9f50863 100644 --- a/inc/location.hpp +++ b/inc/location.hpp @@ -3,13 +3,11 @@ class Location { - public: - Location(){x=y=type=0;}; //is this line needed? - Location(int x1, int y1, int t1){x=x1;y=y1;type=t1;}; - - int x; //x-coordinate of entity - int y; //y-coordinate of entity - int type; //value associated with type of entity at location. 1: Creature, 2: Resource + public: + Location(int x1, int y1, int t1){x=x1;y=y1;type=t1;}; + int x; //x-coordinate of entity + int y; //y-coordinate of entity + int type; //value associated with type of entity at location. 1: Creature, 2: Resource }; #endif |