Creates a new menu item for a separator.
Creates a new menu item for an action.
The title for the action
The function to call when the action is triggered
Optional
keyCombo: CCKeyComboA key combo that will trigger the action, if desired
Creates a new menu item for a submenu.
The title for the submenu
The menu to display under this item
The function to call when this action is triggered.
Whether the item is enabled.
A key combo that will trigger the action.
The title of the menu item.
Serializes this menu item into a format for the window manager.
The serialized version of this menu item
Stores information about a single menu item.