Calls on the screen being enabled.
If the screen should not have an opening animation.
Calls when the screen receives a key event.
The key code
The key's state. (true = down, false = up)
Return true
to cancel, false
to pass through
Calls when the screen receives a mouse event.
The mouse button
Scrolling direction and magnitude if it's a scroll event (positive = scroll up, negative = scroll down)
The mouse's state (true = down, false = up)
Return true
to cancel, false
to pass through
Called on every frame; use this to render something arbitrary.
This gets called whether the screen is on or off - this may be useful for animations.
Generated using TypeDoc
Called on the screen being disabled.