forked from External/mage
gui: improved multi amount dialog (added cancel option, added mana symbols support in messages, improved form structure)
This commit is contained in:
parent
00fcdc4653
commit
81d44e615f
6 changed files with 211 additions and 120 deletions
|
|
@ -8,10 +8,16 @@ public class MultiAmountMessage implements Serializable {
|
|||
public String message;
|
||||
public int min;
|
||||
public int max;
|
||||
public int defaultValue;
|
||||
|
||||
public MultiAmountMessage(String message, int min, int max) {
|
||||
this(message, min, max, min);
|
||||
}
|
||||
|
||||
public MultiAmountMessage(String message, int min, int max, int defaultValue) {
|
||||
this.message = message;
|
||||
this.min = min;
|
||||
this.max = max;
|
||||
this.defaultValue = defaultValue;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue