Interface: UpgradeOptions

features/upgrades/upgrade.UpgradeOptions

Properties

canAfford

Optional canAfford: Computable<boolean>

Defined in

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


classes

Optional classes: Computable<Record<string, boolean>>

Defined in

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


cost

Optional cost: Computable<DecimalSource>

Defined in

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


display

Optional display: Computable<CoercableComponent | { description: CoercableComponent ; effectDisplay?: CoercableComponent ; title?: CoercableComponent }>

Defined in

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


mark

Optional mark: Computable<string | boolean>

Defined in

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


onPurchase

Optional onPurchase: VoidFunction

Defined in

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


resource

Optional resource: Resource<DecimalSource>

Defined in

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


style

Optional style: Computable<StyleValue>

Defined in

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


visibility

Optional visibility: Computable<Visibility>

Defined in

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