Skip to main content

Module upgrades

Module upgrades 

Source

Functionsยง

draw
Returns one entry per visible upgrade row: the live UPGRADES index and the click-target rect on screen. Aligned 1:1 with the rendered rows, so the click router can map a click coordinate to an Action::BuyUpgrade(idx) without re-parsing the panel layout.