mirror of
https://github.com/correl/mage.git
synced 2025-01-13 11:01:58 +00:00
Token types for correct token image displayed
This commit is contained in:
parent
cac2490f77
commit
11de9f9ce3
1 changed files with 16 additions and 1 deletions
|
@ -50,6 +50,21 @@ public class Token extends MageObjectImpl<Token> {
|
||||||
private UUID lastAddedTokenId;
|
private UUID lastAddedTokenId;
|
||||||
private int tokenType;
|
private int tokenType;
|
||||||
|
|
||||||
|
public enum Type {
|
||||||
|
FIRST(1),
|
||||||
|
SECOND(2);
|
||||||
|
|
||||||
|
int code;
|
||||||
|
|
||||||
|
Type(int code) {
|
||||||
|
this.code = code;
|
||||||
|
}
|
||||||
|
|
||||||
|
int getCode() {
|
||||||
|
return this.code;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
public Token(String name, String description) {
|
public Token(String name, String description) {
|
||||||
this.name = name;
|
this.name = name;
|
||||||
this.description = description;
|
this.description = description;
|
||||||
|
|
Loading…
Reference in a new issue