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`.

9 lines (8 loc) 349 B
import Yield from './Yield'; export declare class NegativeYield extends Yield { add(value: Yield | number, provider?: string): void; set(value: Yield | number, provider?: string): void; subtract(value: Yield | number, provider?: string): void; } export default NegativeYield; export declare const makeNegative: (Target: typeof Yield) => void;