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); } }
public CellState(CellState.TypeOfCell s) { StateOfCell = s; }