Class Menu

Class Menu

Methods

Menu:init (id, titre) Constructors
Menu:getId () Getters - Setters
Menu:getTitre () Getters - Setters
Menu:getNumero () Getters - Setters
Menu:setNumero (Numero) Getters - Setters
Menu:ClearButtons () ClearButtons remove all button contained in the menu
Menu:Refresh () Refresh remove all button contained in the menu
Menu:getButtons () Getters - Setters
Menu:addButton (id) addButton(button unButton)
Menu:NumbersButtons () NumbersButtons(void) used in "for" iterration
Menu:Show (id) Show(int id) This Show the menu to the id player.


Methods

Menu:init (id, titre)
Constructors

Parameters:

  • id id of the menu
  • titre title of the menu
Menu:getId ()
Getters - Setters
Menu:getTitre ()
Getters - Setters
Menu:getNumero ()
Getters - Setters
Menu:setNumero (Numero)
Getters - Setters

Parameters:

  • Numero
Menu:ClearButtons ()
ClearButtons remove all button contained in the menu
Menu:Refresh ()
Refresh remove all button contained in the menu
Menu:getButtons ()
Getters - Setters
Menu:addButton (id)
addButton(button unButton)

Parameters:

  • id is the id of player This Show the menu to the id player.
Menu:NumbersButtons ()
NumbersButtons(void) used in "for" iterration

Returns:

    the number of button this menu have.
Menu:Show (id)
Show(int id) This Show the menu to the id player.

Parameters:

  • id is the id of player
generated by LDoc 1.4.3 Last updated 2015-11-11 13:48:25