Constructor
new BuyWeapons()
Constructor for the Buy Weapons Mode
- Source:
- See:
Methods
draw()
draw the buy weapons mode
- Source:
drawTitle()
Draw title
- Source:
drawWeaponButtons()
Draw the weapon buttons
- Source:
setupWeaponButtons()
Setup the weapon buying buttons
- Source:
shutdown()
Shutdown the weapons buying mode and reset the tanks for game play
- Source:
startup()
Startup actions that require access to the game engine
- Source:
update(dt)
Update the buy weapons mode
Parameters:
| Name | Type | Description |
|---|---|---|
dt |
number | The time between the current frame and the previous frame. |
- Source: