The upgrade menu should be procedurally built based on the upgrades that are fed into it/are available. It should be relatively simple to extend. An 'upgradeitem' resource that has an icon, a name/label, and maybe a function it calls on the player, or that it executes itself by being passed a player object. (execute(player: Node))
The upgrade menu should be procedurally built based on the upgrades that are fed into it/are available. It should be relatively simple to extend. An 'upgradeitem' resource that has an icon, a name/label, and maybe a function it calls on the player, or that it executes itself by being passed a player object. (
execute(player: Node)
)