mirror of
https://github.com/correl/mage.git
synced 2024-12-25 11:11:16 +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 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) {
|
||||
this.name = name;
|
||||
this.description = description;
|
||||
|
|
Loading…
Reference in a new issue