Class: BuyWeapons

BuyWeapons()

Class Buy Weapons

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:

Documentation generated by JSDoc 4.0.2 on Wed Oct 29 2025 23:51:02 GMT-0700 (Pacific Daylight Time)