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
  
getContent():String
Returns the current content.
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
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
getContent()method
public function getContent():String

Returns the current content.

Returns
String — The content of this FlxConsole as a String.
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

toggle()method 
public function toggle():void

Shows/hides the console.

update()method 
public function update():void

Updates and/or animates the dev console.