import{_ as e,c as o,o as d,a as c}from"./app.54d5a277.js";const m='{"title":"Interface: BaseUpgrade","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":"bought","slug":"bought"},{"level":3,"title":"canPurchase","slug":"canpurchase"},{"level":3,"title":"id","slug":"id"},{"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/upgrades/upgrade.BaseUpgrade.md"}',t={},r=c('

Interface: BaseUpgrade

features/upgrades/upgrade.BaseUpgrade

Hierarchy

Properties

[Component]

\u2022 [Component]: DefineComponent<{ bought: { required: true = true; type: PropType<ProcessedComputable<boolean>> } ; canPurchase: { required: true = true; type: PropType<ProcessedComputable<boolean>> } ; classes: PropType<ProcessedComputable<Record<string, boolean>>> ; cost: PropType<ProcessedComputable<DecimalSource>> ; display: { required: true = true; type: PropType<ProcessedComputable<undefined | CoercableComponent | { description: CoercableComponent ; effectDisplay?: CoercableComponent ; title?: CoercableComponent } | { description: CoercableComponent ; effectDisplay?: CoercableComponent ; title?: CoercableComponent }>> } ; id: { required: true = true; type: StringConstructor = String } ; mark: PropType<ProcessedComputable<string | boolean>> ; purchase: { required: true = true; type: PropType<VoidFunction> } ; resource: PropType<Resource<DecimalSource>> ; style: PropType<ProcessedComputable<StyleValue>> ; visibility: { required: true = true; type: PropType<ProcessedComputable<Visibility>> } }, { Visibility: typeof Visibility ; component: ShallowRef<string | Component<any, any, any, ComputedOptions, MethodOptions>> ; unref: <T>(ref: T | Ref<T>) => T }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, Record<string, any>, string, PublicProps, Readonly<ExtractPropTypes<{ bought: { required: true = true; type: PropType<ProcessedComputable<boolean>> } ; canPurchase: { required: true = true; type: PropType<ProcessedComputable<boolean>> } ; classes: PropType<ProcessedComputable<Record<string, boolean>>> ; cost: PropType<ProcessedComputable<DecimalSource>> ; display: { required: true = true; type: PropType<ProcessedComputable<undefined | CoercableComponent | { description: CoercableComponent ; effectDisplay?: CoercableComponent ; title?: CoercableComponent } | { description: CoercableComponent ; effectDisplay?: CoercableComponent ; title?: CoercableComponent }>> } ; id: { required: true = true; type: StringConstructor = String } ; mark: PropType<ProcessedComputable<string | boolean>> ; purchase: { required: true = true; type: PropType<VoidFunction> } ; resource: PropType<Resource<DecimalSource>> ; style: PropType<ProcessedComputable<StyleValue>> ; visibility: { required: true = true; type: PropType<ProcessedComputable<Visibility>> } }>>, {}>

Defined in

profectus/src/features/upgrades/upgrade.ts:55


[DefaultValue]

\u2022 [DefaultValue]: boolean

Inherited from

Persistent.__@DefaultValue@18652

Defined in

profectus/src/game/persistence.ts:25


[PersistentState]

\u2022 [PersistentState]: Ref<boolean>

Inherited from

Persistent.__@PersistentState@18650

Defined in

profectus/src/game/persistence.ts:24


bought

\u2022 bought: Ref<boolean>

Defined in

profectus/src/features/upgrades/upgrade.ts:51


canPurchase

\u2022 canPurchase: Ref<boolean>

Defined in

profectus/src/features/upgrades/upgrade.ts:52


id

\u2022 id: string

Defined in

profectus/src/features/upgrades/upgrade.ts:50


purchase

\u2022 purchase: VoidFunction

Defined in

profectus/src/features/upgrades/upgrade.ts:53


type

\u2022 type: typeof UpgradeType

Defined in

profectus/src/features/upgrades/upgrade.ts:54

Methods

[GatherProps]

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

Returns

Record<string, unknown>

Defined in

profectus/src/features/upgrades/upgrade.ts:56

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