mirror of https://github.com/axmolengine/axmol.git
commit
33e85bdc53
|
@ -74,6 +74,9 @@ namespace cocos2d{
|
|||
* If pszFunctionName is NULL, then unregister it.
|
||||
*/
|
||||
virtual void registerScriptHandler(const char* pszFunctionName);
|
||||
|
||||
/** set the target/selector of the menu item*/
|
||||
void setTarget(SelectorProtocol *rec, SEL_MenuHandler selector);
|
||||
protected:
|
||||
SelectorProtocol* m_pListener;
|
||||
SEL_MenuHandler m_pfnSelector;
|
||||
|
@ -309,4 +312,4 @@ namespace cocos2d{
|
|||
|
||||
}
|
||||
|
||||
#endif //__CCMENU_ITEM_H__
|
||||
#endif //__CCMENU_ITEM_H__
|
||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue