mirror of
https://github.com/magefree/mage.git
synced 2025-12-26 21:42:07 -08:00
Added text to ManaType constants.
This commit is contained in:
parent
3a1d687cf1
commit
4e23d49bd2
3 changed files with 21 additions and 3 deletions
|
|
@ -5,5 +5,21 @@ package mage.constants;
|
|||
* @author North
|
||||
*/
|
||||
public enum ManaType {
|
||||
BLACK, BLUE, GREEN, RED, WHITE, COLORLESS
|
||||
}
|
||||
BLACK ("black"),
|
||||
BLUE ("blue"),
|
||||
GREEN ("greeen"),
|
||||
RED ("red"),
|
||||
WHITE ("white"),
|
||||
COLORLESS("colorless");
|
||||
|
||||
private String text;
|
||||
|
||||
ManaType(String text) {
|
||||
this.text = text;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return text;
|
||||
}
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue