Utils.Debug#geom()

geom(object, color, filled) Renders a Rectangle. Parameters Name Type Argument Default Description object Phaser.Rectangle | object The geometry object to render. color string <optional> Color of the debug info to be rendered (format is css color string). filled boolean <optional> true Render the objected as a filled (default, true) or a stroked (false) Source code: utils/Debug.js (Line 645)

Utils.Debug#game

game : Phaser.Game A reference to the currently running Game. Source code: utils/Debug.js (Line 28)

Utils.Debug#font

font : string The font that the debug information is rendered in. Default Value '14px Courier' Source code: utils/Debug.js (Line 54)

Utils.Debug#dirty

dirty : boolean Does the canvas need re-rendering? Source code: utils/Debug.js (Line 92)

Utils.Debug#destroy()

destroy() Destroy this object. Source code: utils/Debug.js (Line 877)

Utils.Debug#Debug

new Debug(game) A collection of methods for displaying debug information about game objects. If your game is running in Canvas mode, then you should invoke all of the Debug methods fromyour games render function. This is because they are drawn directly onto the game canvasitself, so if you call any debug methods outside of render they are likely to be overwrittenby the game itself. If your game is running in WebGL then Debug will create a Sprite that is placed at the top of the Stage display

Utils.Debug#currentY

currentY : number The current Y position the debug information will be rendered at. Source code: utils/Debug.js (Line 81)

Utils.Debug#currentX

currentX : number The current X position the debug information will be rendered at. Source code: utils/Debug.js (Line 75)

Utils.Debug#currentAlpha

currentAlpha : number The alpha of the Debug context, set before all debug information is rendered to it. Default Value 1 Source code: utils/Debug.js (Line 87)

Utils.Debug#context

context :CanvasRenderingContext2D The 2d context of the canvas. Source code: utils/Debug.js (Line 48)