Group.SelectUnselect
Source Code | Usage Examples | Group
Functions
Selects cards in a loop that allows unselection/cancellation. (Group g1) is the group of not selected cards, (Group g2) is the group of already selected cards, (int player) is the player who selects the card, (bool finishable) indicates that the current selection has met the requirements and thus can be finished with the right click, (bool cancelable) indicates that the selection can be canceled with the right click (in the procedures this is set when the selected group is empty and no chain is going on), (int max) and (int min) does nothing to the function, they are only the max and min values shown in the hint. Every card in both the groups can be selected. The function returns a single card
Signature
Group.SelectUnselect(Group g1
, Group g2
, int player
, [bool finishable
, bool cancelable
, int min
, int max
]) → Card
g1:SelectUnselect(g2,player,finishable,cancelable,min,max)
Parameters
Group
g1
(To be added)
Group
g2
(To be added)
int
player
(To be added)
bool
finishable
Optional.
(To be added)
bool
cancelable
Optional.
(To be added)
int
min
Optional.
(To be added)
int
max
Optional.
(To be added)