Interface: UpgradeOptions
features/upgrades/upgrade.UpgradeOptions
Properties
canAfford
• Optional
canAfford: Computable
<boolean
>
Defined in
profectus/src/features/upgrades/upgrade.ts:46
classes
• Optional
classes: Computable
<Record
<string
, boolean
>>
Defined in
profectus/src/features/upgrades/upgrade.ts:33
cost
• Optional
cost: Computable
<DecimalSource
>
Defined in
profectus/src/features/upgrades/upgrade.ts:44
display
• Optional
display: Computable
<CoercableComponent
| { description
: CoercableComponent
; effectDisplay?
: CoercableComponent
; title?
: CoercableComponent
}>
Defined in
profectus/src/features/upgrades/upgrade.ts:35
mark
• Optional
mark: Computable
<string
| boolean
>
Defined in
profectus/src/features/upgrades/upgrade.ts:43
onPurchase
• Optional
onPurchase: VoidFunction
Defined in
profectus/src/features/upgrades/upgrade.ts:47
resource
• Optional
resource: Resource
<DecimalSource
>
Defined in
profectus/src/features/upgrades/upgrade.ts:45
style
• Optional
style: Computable
<StyleValue
>
Defined in
profectus/src/features/upgrades/upgrade.ts:34
visibility
• Optional
visibility: Computable
<Visibility
>