Added text to ManaType constants.

This commit is contained in:
LevelX2 2013-09-04 17:15:51 +02:00
parent 3a1d687cf1
commit 4e23d49bd2
3 changed files with 21 additions and 3 deletions

View file

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