This class contains the record, stop, play, and step 1 frame buttons seen on the top edge of the debugger overlay.
Constructor
new(Debugger:FlxDebugger)
Creates the "VCR" control panel for debugger pausing, stepping, and recording.
Variables
read onlymanualPause:Bool = false
Methods
onPause():Void
Called when the user presses the Pause button. This is different from user-defined pause behavior, or focus lost behavior. Does NOT pause music playback!!
onResume():Void
Called when the user presses the Play button. This is different from user-defined unpause behavior, or focus gained behavior.
onStep():Void
Called when the user presses the fast-forward-looking button. Requests a 1-frame step forward in the game loop.
inlineplayingReplay():Void
Usually called by FlxGame when a requested replay has begun. Just updates the VCR GUI so the buttons are in the right state.
inlinerecording():Void
Usually called by FlxGame when a requested recording has begun. Just updates the VCR GUI so the buttons are in the right state.
inlinestoppedRecording():Void
Usually called by FlxGame when a requested recording has stopped. Just updates the VCR GUI so the buttons are in the right state.
inlinestoppedReplay():Void
Usually called by FlxGame when a replay has been stopped. Just updates the VCR GUI so the buttons are in the right state.
updateRuntime(Time:Float):Void
Just updates the VCR GUI so the runtime displays roughly the right thing.