Responsible for the event handling of elements.
Static variables
staticread onlymouseDX:Int = 0
The delta x position of the mouse (the difference of the x position to the last frame)
staticread onlymouseDY:Int = 0
The delta y position of the mouse (the difference of the y position to the last frame)
Static methods
staticinlineaddEvent(event:Event):Void
Adds an event to the event array. Events are sent in an update loop and not directly at the moment they happen to prevent stack overflows through circular calls and to make the overall process more stable.
staticinlineregisterCutCopyPaste(onCut:() ‑> String, onCopy:() ‑> String, onPaste:String ‑> Void):Void
staticupdate():Void
Updates all the events and calls registered listeners. Used internally most of the time.