Class: DebugPlayer

DebugPlayer()

Class debug player.

Constructor

new DebugPlayer()

Constructor for the Debug player mode.
Source:
See:

Methods

createPlayers()

create players and attach the tanks to them
Source:

createTerrain()

Create the terrain
Source:

draw()

exits immediately
Source:

resetGameEngine()

Return the game engine to a fresh state
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)