public static bool Find(Point origin, GenSearch search, out Point result) { result = search.Find(origin); if (result == GenSearch.NOT_FOUND) { return(false); } return(true); }
public static bool Find(Point origin, GenSearch search, out Point result) { result = search.Find(origin); return(!(result == GenSearch.NOT_FOUND)); }
public static GenSearch Chain(GenSearch search, params GenCondition[] conditions) { return(search.Conditions(conditions)); }