예제 #1
0
        public static bool IsProduct(CellState.TypeOfCell state)
        {
            if (state == TypeOfCell.ENTRY || state == TypeOfCell.EXIT || state == TypeOfCell.WALL ||
                state == TypeOfCell.PASSAGE || state == TypeOfCell.PRIORITY_PASSAGE)
            {
                return(false);
            }

            else
            {
                return(true);
            }
        }
예제 #2
0
 public CellState(CellState.TypeOfCell s)
 {
     StateOfCell = s;
 }