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: