UNPKG

@civ-clone/core-yield

Version:

A `Yield` is a key element in Civilization and can refer to anything from the `Attack` value of a `Unit` to, the `Food` returned for a `Tile` or the `Unhappiness` produced by a `City`.

15 lines (14 loc) 408 B
import { ConstructorRegistry, IConstructorRegistry, } from '@civ-clone/core-registry/ConstructorRegistry'; import Yield from './Yield'; export interface IYieldRegistry extends IConstructorRegistry<Yield> {} export declare class YieldRegistry extends ConstructorRegistry<Yield> implements IYieldRegistry { constructor(); } export declare const instance: YieldRegistry; export default YieldRegistry;