Class Index | File Index

Classes


Class unicodeListener

unicodeListener
Defined in: unicodeListener.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
An object to listen for typed characters.
Field Summary
Field Attributes Field Name and Description
 
The user function to call when a new character is pressed / activated.
Method Summary
Method Attributes Method Name and Description
 
Removes the button listener from sandboxe.
Class Detail
unicodeListener()
An object to listen for typed characters. See sandboxe.input.unicodeListener.create to instantiate and enable it.

unicodeListener allows you to set up more detailed specific behavior as soon as an input even is recorded for a frame, allowing you to avoid the classic "query input every frame pattern".

Field Detail
onNewUnicode
The user function to call when a new character is pressed / activated.
Method Detail
remove()
Removes the button listener from sandboxe.

Documentation generated by JsDoc Toolkit 2.4.0 on Sun Feb 03 2019 18:30:57 GMT-0500 (EST)