onKeyUp method
void
onKeyUp(
- dynamic event
Implementation
void onKeyUp( event ) {
switch ( event.keyId ) {
case 4294968068: /*up*/
case 119: /*W*/ this.moveForward = false; break;
case 4294968066: /*left*/
case 97: /*A*/ this.moveLeft = false; break;
case 4294968065: /*down*/
case 115: /*S*/ this.moveBackward = false; break;
case 4294968067: /*right*/
case 100: /*D*/ this.moveRight = false; break;
case 114: /*R*/ this.moveUp = false; break;
case 102: /*F*/ this.moveDown = false; break;
}
}