Example #1
0
        public static CCMenuItemFont itemFromString(string value, SelectorProtocol target, SEL_MenuHandler selector)
        {
            CCMenuItemFont cCMenuItemFont = new CCMenuItemFont();

            cCMenuItemFont.initFromString(value, target, selector);
            return(cCMenuItemFont);
        }
Example #2
0
        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;
 }
Example #5
0
        /// <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);
        }
Example #6
0
        /// <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);
        }