Module controler.oncreatemixbutton
Event on the "createmix" button from main menu
Does print 5 differents menu to get different info from the user about the mix he wants to create
Functions
onCreateMixButton (id) | onCreateMixButton call the Menu rounds |
menuUIRounds (id) | menuUIRounds show the Menu rounds call the menu number of player and send the info of the rounds |
menuUINumberPlayer (id, idbutton, object) | menuUINumberPlayer show the Menu Number Player save the info of rounds, get the info of the number of player and call the Menu Map |
menuUIMap (id, idbutton, object) | menuUIMap show the Menu Map save the info of Number of player, get the info of the Map and call the Menu Till end |
menuUITillEnd (id, idbutton, object) | menuUITillEnd show the Menu till end save the info of Map, get the info for a till end mix and call the Menu Knife round |
menuUIKnifeRound (id, idbutton, object) | menuUIKnifeRound show the Menu Knife round save the info for till end, get the info for the kniferound and call the Menu Summary |
menuSummary (id, idbutton, object) | menuSummary show the Menu Summary save the info for kniferound, wait the user approve his choices call the function to create the mix |
CreateTheMix (id, idbutton, object) | CreateTheMix create the mix get all the different info setted by the user about the mix and create the mix |
Functions
Methods- onCreateMixButton (id)
-
onCreateMixButton
call the Menu rounds
Parameters:
- id of the player
- menuUIRounds (id)
-
menuUIRounds
show the Menu rounds
call the menu number of player and send the info of the rounds
Parameters:
- id of the player
- menuUINumberPlayer (id, idbutton, object)
-
menuUINumberPlayer
show the Menu Number Player
save the info of rounds, get the info of the number of player
and call the Menu Map
Parameters:
- id of the player
- idbutton the button id pressed from the previus menu
- object the previus menu
- menuUIMap (id, idbutton, object)
-
menuUIMap
show the Menu Map
save the info of Number of player, get the info of the Map
and call the Menu Till end
Parameters:
- id of the player
- idbutton the button id pressed from the previus menu
- object the previus menu
- menuUITillEnd (id, idbutton, object)
-
menuUITillEnd
show the Menu till end
save the info of Map, get the info for a till end mix
and call the Menu Knife round
Parameters:
- id of the player
- idbutton the button id pressed from the previus menu
- object the previus menu
- menuUIKnifeRound (id, idbutton, object)
-
menuUIKnifeRound
show the Menu Knife round
save the info for till end, get the info for the kniferound
and call the Menu Summary
Parameters:
- id of the player
- idbutton the button id pressed from the previus menu
- object the previus menu
- menuSummary (id, idbutton, object)
-
menuSummary
show the Menu Summary
save the info for kniferound, wait the user approve his choices
call the function to create the mix
Parameters:
- id of the player
- idbutton the button id pressed from the previus menu
- object the previus menu
- CreateTheMix (id, idbutton, object)
-
CreateTheMix
create the mix
get all the different info setted by the user about the mix
and create the mix
Parameters:
- id of the player
- idbutton the button id pressed from the previus menu
- object the previus menu