Ejemplo n.º 1
0
    private void Move(mazeDirection direction)
    {
        mazeCellEdge edge = currentCell.GetEdge(direction);

        if (edge is mazePassage)
        {
            SetLocation(edge.otherCell);
        }
    }
Ejemplo n.º 2
0
 public void SetEdge(mazeDirection direction, mazeCellEdge edge)
 {
     edges[(int)direction] = edge;
     initializedEdgeCount += 1;
 }