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: