public static CCMenuItemFont itemFromString(string value, SelectorProtocol target, SEL_MenuHandler selector) { CCMenuItemFont cCMenuItemFont = new CCMenuItemFont(); cCMenuItemFont.initFromString(value, target, selector); return(cCMenuItemFont); }
public static CCMenuItemFont itemFromString(string value) { CCMenuItemFont cCMenuItemFont = new CCMenuItemFont(); cCMenuItemFont.initFromString(value, null, null); return(cCMenuItemFont); }
/// <summary> /// creates a menu item from a string with a target/selector /// </summary> public static CCMenuItemFont itemFromString(string value, SelectorProtocol target, SEL_MenuHandler selector) { CCMenuItemFont pRet = new CCMenuItemFont(); pRet.initFromString(value, target, selector); //pRet->autorelease(); return pRet; }
/// <summary> /// creates a menu item from a string without target/selector. To be used with CCMenuItemToggle /// </summary> public static CCMenuItemFont itemFromString(string value) { CCMenuItemFont pRet = new CCMenuItemFont(); pRet.initFromString(value, null, null); //pRet->autorelease(); return pRet; }
/// <summary> /// creates a menu item from a string with a target/selector /// </summary> public static CCMenuItemFont itemFromString(string value, SelectorProtocol target, SEL_MenuHandler selector) { CCMenuItemFont pRet = new CCMenuItemFont(); pRet.initFromString(value, target, selector); //pRet->autorelease(); return(pRet); }
/// <summary> /// creates a menu item from a string without target/selector. To be used with CCMenuItemToggle /// </summary> public static CCMenuItemFont itemFromString(string value) { CCMenuItemFont pRet = new CCMenuItemFont(); pRet.initFromString(value, null, null); //pRet->autorelease(); return(pRet); }