|
From: Sophie <its...@ho...> - 2012-05-21 18:30:14
|
Is there any way to do event-driven programming, with callbacks for mouse or keyboard events? I would rather not use the polling style shown in example on the web site.
e.g.
onKey('a', processKeyA)
onMouseDown(processMouseDown)
onMouseDownOn(myCube, processMouseDownOnObject)
Thanks!
|