removed DeckType, added Outcomes

This commit is contained in:
BetaSteward 2010-04-11 19:34:30 +00:00
parent bdc88f8669
commit 058af9a48e

View file

@ -65,24 +65,6 @@ public final class Constants {
} }
public enum DeckType {
CONSTRUCTED_STANDARD ("Constructed - Standard"),
CONSTRUCTED_EXTENDED ("Constructed - Extended"),
LIMITED ("Limited");
private String text;
DeckType(String text) {
this.text = text;
}
@Override
public String toString() {
return text;
}
}
public enum CardType { public enum CardType {
ARTIFACT ("Artifact"), ARTIFACT ("Artifact"),
CREATURE ("Creature"), CREATURE ("Creature"),
@ -107,13 +89,24 @@ public final class Constants {
} }
public enum Duration { public enum Duration {
OneShot, OneUse(""),
OneUse, EndOfGame("for the rest of the game"),
EndOfGame, WhileOnBattlefield(""),
WhileInPlay, WhileOnStack(""),
EndOfTurn, EndOfTurn("until end of turn"),
EndOfCombat, EndOfCombat("until end of combat");
Conditional
private String text;
Duration(String text) {
this.text = text;
}
@Override
public String toString() {
return text;
}
} }
public enum Layer { public enum Layer {
@ -212,6 +205,7 @@ public final class Constants {
UnboostCreature(false), UnboostCreature(false),
AddAbility(true), AddAbility(true),
GainLife(true), GainLife(true),
ExtraTurn(true),
BecomeCreature(true), BecomeCreature(true),
PutCreatureInPlay(true), PutCreatureInPlay(true),
PutCardInPlay(true), PutCardInPlay(true),
@ -219,6 +213,7 @@ public final class Constants {
GainControl(true), GainControl(true),
DrawCard(true), DrawCard(true),
Discard(false), Discard(false),
Sacrifice(false),
Exile(false), Exile(false),
Protect(true), Protect(true),
PutManaInPool(true), PutManaInPool(true),