Class: BHell_Window_BuyUpgrades

BHell.BHell_Window_BuyUpgrades()

new BHell_Window_BuyUpgrades()

Upgrade purchase window for the shop.

Source:

Methods

makeItemList()

Lists the four parameters (speed, rate of fire, power and number of bombs) and determines the price for each upgrade from the plugin's parameters.

Source:

select(index)

Updates the selected item and refreshes the status window accordingly.

Parameters:
Name Type Description
index

Index of the new selected item.

Source:

setPlayer(id)

Sets the player to be upgraded.

Parameters:
Name Type Description
id

Index of the player.

Source: