Esempio n. 1
0
 public Room(Mirror theMirror, int x, int y)
 {
     X         = x;
     Y         = y;
     mirror    = theMirror;
     isVisited = new Dictionary <CardinalDirection, bool> ();
     isVisited [CardinalDirection.North] = false;
     isVisited [CardinalDirection.South] = false;
     isVisited [CardinalDirection.East]  = false;
     isVisited [CardinalDirection.West]  = false;
 }
Esempio n. 2
0
 public void AddRoom(int x, int y, Mirror mirror)
 {
     rooms [x, y] = new Room(mirror, x, y);
 }