| Package | org.flixel.data |
| Class | public class FlxConsole |
| Inheritance | FlxConsole flash.display.Sprite |
| Property | Defined By | ||
|---|---|---|---|
| mtrRender : FlxMonitor | FlxConsole | ||
| mtrTotal : FlxMonitor | FlxConsole | ||
| mtrUpdate : FlxMonitor | FlxConsole | ||
| Method | Defined 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 | ||
| mtrRender | property |
public var mtrRender:FlxMonitor| mtrTotal | property |
public var mtrTotal:FlxMonitor| mtrUpdate | property |
public var mtrUpdate:FlxMonitor| FlxConsole | () | Constructor |
public function FlxConsole(X:uint, Y:uint, Zoom:uint)Constructor
ParametersX:uint — X position of the console
| |
Y:uint — Y position of the console
| |
Zoom:uint — The game's zoom level
|
| getContent | () | method |
public function getContent():StringReturns the current content.
ReturnsString — The content of this FlxConsole as a String.
|
| log | () | method |
public function log(Text:String):voidLogs data to the developer console
Parameters
Text:String — The text that you wanted to write to the console
|
| toggle | () | method |
public function toggle():voidShows/hides the console.
| update | () | method |
public function update():voidUpdates and/or animates the dev console.