Advertisement
Guest User

Untitled

a guest
Jul 31st, 2014
194
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.38 KB | None | 0 0
  1. class MazeCell {
  2.   int clean;
  3.   int visited;
  4.   int direction[4];
  5.  
  6.   public:
  7.     void setClean();
  8.     int isClean() { return clean; }
  9.     int isVisited() { return visited; }
  10.     void setVisited() { visited = 1; }
  11.     void setDirection ( int sDir ) { direction[sDir] = 1; }
  12.     int getDirection ( int gDir ) { return direction[gDir]; }
  13.     int isDone ();
  14.     MazeCell();
  15. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement