class flixel.system.replay.FrameRecord
Available on all platforms
Helper class for the new replay system. Represents all the game inputs for one "frame" or "step" of the game loop.
Instance Fields
var keys:Array<CodeValuePair>
An array of simple integer pairs referring to what key is pressed, and what state its in.
function create(Frame:Float, ?Keys:Array<CodeValuePair> = null, ?Mouse:MouseRecord = null):FrameRecord
Load this frame record with input data from the input managers. *
Frame | What frame it is. * |
Keys | Keyboard data from the keyboard manager. * |
Mouse | Mouse data from the mouse manager. * |
returns | A reference to this FrameRecord object. |
function load(Data:String):FrameRecord
Load the frame record data from array simple ASCII string. *
Data | A String object containing the relevant frame record data. |