summaryrefslogtreecommitdiff
path: root/inc/location.hpp
blob: e45642d460caf3cb7429a98ced69b3a2aedd57c3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef location_h
#define location_h

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
};

#endif