UNPKG

@civ-clone/core-city-build

Version:

The repo contains the `CityBuild` and associated objects that deal with building items in `City`s.

19 lines (18 loc) 538 B
import { EntityRegistry, IEntityRegistry, } from '@civ-clone/core-registry/EntityRegistry'; import City from '@civ-clone/core-city/City'; import CityBuild from './CityBuild'; export interface ICityBuildRegistry extends IEntityRegistry<CityBuild> { getByCity(city: City): CityBuild; } export declare class CityBuildRegistry extends EntityRegistry<CityBuild> implements ICityBuildRegistry { constructor(); getByCity(city: City): CityBuild; } export declare const instance: CityBuildRegistry; export default CityBuildRegistry;