import { PlayerCtor } from '@rpgjs/common'; export interface GoldManager { /** * You can change the game money * * ```ts * player.gold += 100 * ``` * * @title Change Gold * @prop {number} player.gold * @default 0 * @memberof GoldManager * */ gold: number; } export declare function WithGoldManager(Base: TBase): new (...args: ConstructorParameters) => InstanceType & GoldManager; /** * Type helper to extract the interface from the WithGoldManager mixin * This provides the type without duplicating method signatures */ export type IGoldManager = InstanceType>;