forked from External/mage
GUI: introduced default card hints:
* refactor: added helper emblems instead rad counter's inherent emblems (use initGameDefaultHelperEmblems to define new card hints or other fake objects); * refactor: added card hints support for emblems, planes and other command objects; * GUI: added storm counter as default card hint (use hints tool to see it, closes #12360);
This commit is contained in:
parent
83823acec7
commit
521a0f6e32
36 changed files with 234 additions and 144 deletions
|
|
@ -2,8 +2,11 @@ package mage.util;
|
|||
|
||||
import java.io.Serializable;
|
||||
|
||||
// Author: alexander-novo
|
||||
// A helper class for facilitating the multi-choose dialog
|
||||
/**
|
||||
* A helper class for facilitating the multi-choose dialog
|
||||
*
|
||||
* @author alexander-novo
|
||||
*/
|
||||
public class MultiAmountMessage implements Serializable {
|
||||
public String message;
|
||||
public int min;
|
||||
|
|
@ -20,4 +23,9 @@ public class MultiAmountMessage implements Serializable {
|
|||
this.max = max;
|
||||
this.defaultValue = defaultValue;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return String.format("%s - from %d to %d - default %d", message, min, max, defaultValue);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue