---@class cc.MenuItemSprite :cc.MenuItem local MenuItemSprite={ } cc.MenuItemSprite=MenuItemSprite ---* Enables or disables the item. ---@param bEnabled boolean ---@return self function MenuItemSprite:setEnabled (bEnabled) end ---* The item was selected (not activated), similar to "mouse-over".
---* since v0.99.5 ---@return self function MenuItemSprite:selected () end ---* Sets the image used when the item is not selected. ---@param image cc.Node ---@return self function MenuItemSprite:setNormalImage (image) end ---* Sets the image used when the item is disabled. ---@param image cc.Node ---@return self function MenuItemSprite:setDisabledImage (image) end ---* Initializes a menu item with a normal, selected and disabled image with a callable object. ---@param normalSprite cc.Node ---@param selectedSprite cc.Node ---@param disabledSprite cc.Node ---@param callback function ---@return boolean function MenuItemSprite:initWithNormalSprite (normalSprite,selectedSprite,disabledSprite,callback) end ---* Sets the image used when the item is selected. ---@param image cc.Node ---@return self function MenuItemSprite:setSelectedImage (image) end ---* Gets the image used when the item is disabled. ---@return cc.Node function MenuItemSprite:getDisabledImage () end ---* Gets the image used when the item is selected. ---@return cc.Node function MenuItemSprite:getSelectedImage () end ---* Gets the image used when the item is not selected. ---@return cc.Node function MenuItemSprite:getNormalImage () end ---* The item was unselected. ---@return self function MenuItemSprite:unselected () end ---* ---@return self function MenuItemSprite:MenuItemSprite () end