public static bool IsTraversible(this CellType cell) { return(cell.IsLambda() || cell.IsEmpty() || cell.IsEarth() || cell == CellType.OpenLift || cell.IsRobot() || cell.IsRock() || cell.IsTrampoline() || cell.IsRazor() || cell.IsTarget()); }
public static bool IsClearable(this CellType cell) { return(cell.IsLambda() || cell.IsEmpty() || cell.IsEarth() || cell.IsTrampoline() || cell.IsRobot() || cell.IsRazor()); }
public static bool HoldsRock(this CellType cell) { return(cell.IsRock() || cell.IsTrampoline() || cell.IsTarget() || cell.IsLambda() || cell.IsRobot() || cell.IsEarth() || cell.IsBeard() || cell.IsRazor()); }