class flixel.system.debug.Window extends Sprite
Available on all platforms
Sub classes | ||||||||||
![]() | Console, Log, Stats, Watch |
|
A generic, Flash-based window class, created for use in FlxDebugger.
Class Fields
Instance Fields
function new(Title:String, ?Icon:BitmapData = null, ?Width:Float = 0, ?Height:Float = 0, ?Resizable:Bool = true, ?Bounds:Rectangle = null, ?Closable:Bool = false):Void
Creates a new window object. This Flash-based class is mainly (only?) used by FlxDebugger. * *
Title | The name of the window, displayed in the header bar. * |
Icon | The icon to use for the window header. * |
Width | The initial width of the window. * |
Height | The initial height of the window. * |
Resizable | Whether you can change the size of the window with a drag handle. * |
Bounds | A rectangle indicating the valid screen area for the window. * |
Closable | Whether this window has a close button that removes the window. |
function reposition(X:Float, Y:Float):Void
Change the position of the window. Subject to pre-specified bounding rectangles. * *
X | Desired X position of top left corner of the window. * |
Y | Desired Y position of top left corner of the window. |