Packageorg.flixel.data
Classpublic class FlxConsole
InheritanceFlxConsole Inheritance flash.display.Sprite

Contains all the logic for the developer console. This class is automatically created by FlxGame.



Public Properties
 PropertyDefined by
  mtrRender : FlxMonitor
FlxConsole
  mtrTotal : FlxMonitor
FlxConsole
  mtrUpdate : FlxMonitor
FlxConsole
Public Methods
 MethodDefined by
  
FlxConsole(X:uint, Y:uint, Zoom:uint)
Constructor
FlxConsole
  
log(Text:String):void
Logs data to the developer console
FlxConsole
  
toggle():void
Shows/hides the console.
FlxConsole
  
update():void
Updates and/or animates the dev console.
FlxConsole
Protected Methods
 MethodDefined by
  
printTimingData():String
Returns a string of frame timing data.
FlxConsole
Property detail
mtrRenderproperty
public var mtrRender:FlxMonitor
mtrTotalproperty 
public var mtrTotal:FlxMonitor
mtrUpdateproperty 
public var mtrUpdate:FlxMonitor
Constructor detail
FlxConsole()constructor
public function FlxConsole(X:uint, Y:uint, Zoom:uint)

Constructor

Parameters
X:uint — X position of the console
 
Y:uint — Y position of the console
 
Zoom:uint — The game's zoom level
Method detail
log()method
public function log(Text:String):void

Logs data to the developer console

Parameters
Text:String — The text that you wanted to write to the console
printTimingData()method 
protected function printTimingData():String

Returns a string of frame timing data.

Returns
String
toggle()method 
public function toggle():void

Shows/hides the console.

update()method 
public function update():void

Updates and/or animates the dev console.