Class Index | File Index

Classes


Class cc.KeyboardDelegate


Extends cc.Class.

Defined in: CCKeyboardDelegate.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
you must extend the keyboardDelegate and implement your own game logic in keydown and keyup functions
Method Summary
Method Attributes Method Name and Description
 
Call back when a key is pressed down
 
Call back when a key is released
Class Detail
cc.KeyboardDelegate()
you must extend the keyboardDelegate and implement your own game logic in keydown and keyup functions
Method Detail
onKeyDown()
Call back when a key is pressed down

onKeyUp()
Call back when a key is released

Documentation generated by JsDoc Toolkit 2.4.0 on Wed Jan 09 2013 07:51:51 GMT-0800 (PST)