import{_ as e,c as a,o as r,N as t}from"./chunks/framework.0799945b.js";const g=JSON.parse('{"title":"Interface: UpgradeOptions","description":"","frontmatter":{"editLink":false},"headers":[],"relativePath":"api/interfaces/features/upgrades/upgrade.UpgradeOptions.md","lastUpdated":null}'),o={name:"api/interfaces/features/upgrades/upgrade.UpgradeOptions.md"},s=t('
features/upgrades/upgrade.UpgradeOptions
An object that configures a Upgrade.
• Optional
classes: Computable
<Record
<string
, boolean
>>
Dictionary of CSS classes to apply to this feature.
profectus/src/features/upgrades/upgrade.ts:49
• Optional
display: Computable
<CoercableComponent
| { description
: CoercableComponent
; effectDisplay?
: CoercableComponent
; title?
: CoercableComponent
}>
The display to use for this clickable.
profectus/src/features/upgrades/upgrade.ts:55
• Optional
mark: Computable
<string
| boolean
>
Shows a marker on the corner of the feature.
profectus/src/features/upgrades/upgrade.ts:53
• Optional
onPurchase: VoidFunction
A function that is called when the upgrade is purchased.
profectus/src/features/upgrades/upgrade.ts:69
• requirements: Requirements
The requirements to purchase this upgrade.
profectus/src/features/upgrades/upgrade.ts:67
• Optional
style: Computable
<StyleValue
>
CSS to apply to this feature.
profectus/src/features/upgrades/upgrade.ts:51
• Optional
visibility: Computable
<boolean
| Visibility
>
Whether this clickable should be visible.