gui: improved multi amount dialog (added cancel option, added mana symbols support in messages, improved form structure)

This commit is contained in:
Oleg Agafonov 2023-11-02 12:30:40 +04:00
parent 00fcdc4653
commit 81d44e615f
6 changed files with 211 additions and 120 deletions

View file

@ -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;
}
}