Class cc.KeyboardHandler
- Defined in: CCKeyboardDelegate.js
- Extends cc.Class
Constructor Attributes | Constructor Name and Description |
---|---|
KeyboardHandler is an object that contains KeyboardDelegate
|
Method Summary
Class Detail
cc.KeyboardHandler()
KeyboardHandler is an object that contains KeyboardDelegate
Method Detail
-
Create a KeyboardHandler with KeyboardDelegate
- Parameters:
- delegate
- Returns:
- {cc.KeyboardHandler}
-
{cc.KeyboardDelegate} getDelegate()returns the keyboard delegate
- Returns:
- {cc.KeyboardDelegate}
-
{Boolean} initWithDelegate(delegate)initializes a cc.KeyboardHandler with a delegate
- Parameters:
- {cc.KeyboardDelegate} delegate
- Returns:
- {Boolean}
-
setDelegate(delegate)set the keyboard delegate
- Parameters:
- {cc.KeyboardDelegate} delegate