forked from External/mage
AI: fixed not working choice with key-value dialogs, random refactor
This commit is contained in:
parent
ec50a123ec
commit
3dda5712db
8 changed files with 77 additions and 64 deletions
|
|
@ -28,12 +28,13 @@
|
|||
|
||||
package mage.choices;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.Set;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author BetaSteward_at_googlemail.com
|
||||
* @author BetaSteward_at_googlemail.com, JayDi85
|
||||
*/
|
||||
public interface Choice {
|
||||
|
||||
|
|
@ -73,4 +74,8 @@ public interface Choice {
|
|||
boolean isSortEnabled();
|
||||
void setSortData(Map<String, Integer> sortData);
|
||||
Map<String, Integer> getSortData();
|
||||
|
||||
// random choice
|
||||
void setRandomChoice();
|
||||
boolean setChoiceByAnswers(List<String> answers, boolean removeSelectAnswerFromList);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue