21 lines
909 B
C#
21 lines
909 B
C#
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<Building> providers);
|
|
|
|
void FindProvidersForStorage(TileRect sourceRect, List<Building> providers);
|
|
}
|
|
} |