Computes the actions for the given upgrade option
Returns the actions data, that is, the price, availability and visibility
{({ available: boolean, visible: boolean, price: number, })}
Returns the options description
Returns the options title
Helper to make a sub action which levels up the given enhancement from fromLevel to toLevel
Helper method to construct the given action
{{ root: GameRoot, entity: Entity, enhancementId: string }} UpgradeCreationPayload