using System.Collections.Generic; namespace DanieleMarotta.RiversongCodeShowcase { public interface IBuildingSpatialQuery { bool FindStorageForFetch(int sourceId, TileRect sourceRect, int productHandle, out Building building); bool FindStorageForFetch(int sourceId, TileRect sourceRect, int sourceRange, int productHandle, out Building building); bool FindStorageForDelivery(int sourceId, TileRect sourceRect, int productHandle, out Building building); bool FindStorageForRequest(int sourceId, TileRect sourceRect, int sourceRange, int productHandle, out Building building); bool FindProviderForFetch(int sourceId, TileRect sourceRect, int productHandle, out Building building); void FindProvidersForHouse(TileRect sourceRect, List providers); void FindProvidersForStorage(TileRect sourceRect, List providers); } }