-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDirections.h
33 lines (26 loc) · 866 Bytes
/
Directions.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#ifndef DIRECTIONS_H_INCLUDED
#define DIRECTIONS_H_INCLUDED
/**********************************************************************
*each value will be true or false depending if you can go that way from this node.
*This will also imply the max number of nodes that will be visible from this node.
**********************************************************************/
class Directions
{
private:
bool NORTH;
bool SOUTH;
bool EAST;
bool WEST;
public:
Directions(bool,bool,bool,bool);
Directions();
bool getNorth(void);
void setNorth(bool);
bool getSouth(void);
void setSouth(bool);
bool getEast(void);
void setEast(bool);
bool getWest(void);
void setWest(bool);
};
#endif // DIRECTIONS_H_INCLUDED