import{_ as e,c as o,o as t,a as d}from"./app.54d5a277.js";const b='{"title":"Interface: BaseBuyable","description":"","frontmatter":{},"headers":[{"level":2,"title":"Hierarchy","slug":"hierarchy"},{"level":2,"title":"Properties","slug":"properties"},{"level":3,"title":"[Component]","slug":"component"},{"level":3,"title":"[DefaultValue]","slug":"defaultvalue"},{"level":3,"title":"[PersistentState]","slug":"persistentstate"},{"level":3,"title":"amount","slug":"amount"},{"level":3,"title":"canAfford","slug":"canafford"},{"level":3,"title":"canClick","slug":"canclick"},{"level":3,"title":"id","slug":"id"},{"level":3,"title":"maxed","slug":"maxed"},{"level":3,"title":"onClick","slug":"onclick"},{"level":3,"title":"purchase","slug":"purchase"},{"level":3,"title":"type","slug":"type"},{"level":2,"title":"Methods","slug":"methods"},{"level":3,"title":"[GatherProps]","slug":"gatherprops"}],"relativePath":"api/interfaces/features/buyable.BaseBuyable.md"}',c={},r=d('

Interface: BaseBuyable

features/buyable.BaseBuyable

Hierarchy

Properties

[Component]

\u2022 [Component]: DefineComponent<{ canClick: { required: true = true; type: PropType<ProcessedComputable<boolean>> } ; classes: PropType<ProcessedComputable<Record<string, boolean>>> ; display: { required: true = true; type: PropType<ProcessedComputable<undefined | CoercableComponent | { description: CoercableComponent ; title?: CoercableComponent } | { description: CoercableComponent ; title?: CoercableComponent }>> } ; id: { required: true = true; type: StringConstructor = String } ; mark: PropType<ProcessedComputable<string | boolean>> ; onClick: PropType<VoidFunction> ; onHold: PropType<VoidFunction> ; small: BooleanConstructor = Boolean; style: PropType<ProcessedComputable<StyleValue>> ; visibility: { required: true = true; type: PropType<ProcessedComputable<Visibility>> } }, { Visibility: typeof Visibility ; comp: ShallowRef<string | Component<any, any, any, ComputedOptions, MethodOptions>> ; start: VoidFunction ; stop: VoidFunction ; unref: <T>(ref: T | Ref<T>) => T }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, Record<string, any>, string, PublicProps, Readonly<ExtractPropTypes<{ canClick: { required: true = true; type: PropType<ProcessedComputable<boolean>> } ; classes: PropType<ProcessedComputable<Record<string, boolean>>> ; display: { required: true = true; type: PropType<ProcessedComputable<undefined | CoercableComponent | { description: CoercableComponent ; title?: CoercableComponent } | { description: CoercableComponent ; title?: CoercableComponent }>> } ; id: { required: true = true; type: StringConstructor = String } ; mark: PropType<ProcessedComputable<string | boolean>> ; onClick: PropType<VoidFunction> ; onHold: PropType<VoidFunction> ; small: BooleanConstructor = Boolean; style: PropType<ProcessedComputable<StyleValue>> ; visibility: { required: true = true; type: PropType<ProcessedComputable<Visibility>> } }>>, { small: boolean }>

Defined in

profectus/src/features/buyable.tsx:60


[DefaultValue]

\u2022 [DefaultValue]: DecimalSource

Inherited from

Persistent.__@DefaultValue@18652

Defined in

profectus/src/game/persistence.ts:25


[PersistentState]

\u2022 [PersistentState]: Ref<DecimalSource>

Inherited from

Persistent.__@PersistentState@18650

Defined in

profectus/src/game/persistence.ts:24


amount

\u2022 amount: Ref<DecimalSource>

Defined in

profectus/src/features/buyable.tsx:53


canAfford

\u2022 canAfford: Ref<boolean>

Defined in

profectus/src/features/buyable.tsx:55


canClick

\u2022 canClick: ProcessedComputable<boolean>

Defined in

profectus/src/features/buyable.tsx:56


id

\u2022 id: string

Defined in

profectus/src/features/buyable.tsx:52


maxed

\u2022 maxed: Ref<boolean>

Defined in

profectus/src/features/buyable.tsx:54


onClick

\u2022 onClick: VoidFunction

Defined in

profectus/src/features/buyable.tsx:57


purchase

\u2022 purchase: VoidFunction

Defined in

profectus/src/features/buyable.tsx:58


type

\u2022 type: typeof BuyableType

Defined in

profectus/src/features/buyable.tsx:59

Methods

[GatherProps]

\u25B8 [GatherProps](): Record<string, unknown>

Returns

Record<string, unknown>

Defined in

profectus/src/features/buyable.tsx:61

',70),a=[r];function n(s,i,l,u,h,p){return t(),o("div",null,a)}var m=e(c,[["render",n]]);export{b as __pageData,m as default};