forked from External/mage
30 lines
591 B
Java
30 lines
591 B
Java
package mage.constants;
|
|
|
|
/**
|
|
*
|
|
* @author North
|
|
*/
|
|
public enum Duration {
|
|
OneUse(""),
|
|
EndOfGame("for the rest of the game"),
|
|
WhileOnBattlefield(""),
|
|
WhileOnStack(""),
|
|
WhileInGraveyard(""),
|
|
EndOfTurn("until end of turn"),
|
|
UntilYourNextTurn("until your next turn"),
|
|
EndOfCombat("until end of combat"),
|
|
EndOfStep("until end of phase step"),
|
|
Custom("");
|
|
|
|
private final String text;
|
|
|
|
Duration(String text) {
|
|
this.text = text;
|
|
}
|
|
|
|
@Override
|
|
public String toString() {
|
|
return text;
|
|
}
|
|
|
|
}
|