Class: DebugTank

DebugTank()

Class Debug Tank to test the tank controls.

Constructor

new DebugTank()

Constructor for the Debug Tank mode.
Source:
See:

Methods

createTanks()

Create the tanks for testing
Source:

createTerrain()

Create the terrain
Source:

draw()

exits immediately
Source:

startup()

Startup actions that require access to the game engine
Source:

update(dt)

Update the projectile debug mode - adds new projectile if there are none currently in the screen
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)