mirror of
https://github.com/correl/mage.git
synced 2024-11-21 19:18:40 +00:00
removed DeckType, added Outcomes
This commit is contained in:
parent
bdc88f8669
commit
058af9a48e
1 changed files with 20 additions and 25 deletions
|
@ -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 {
|
||||
ARTIFACT ("Artifact"),
|
||||
CREATURE ("Creature"),
|
||||
|
@ -107,13 +89,24 @@ public final class Constants {
|
|||
}
|
||||
|
||||
public enum Duration {
|
||||
OneShot,
|
||||
OneUse,
|
||||
EndOfGame,
|
||||
WhileInPlay,
|
||||
EndOfTurn,
|
||||
EndOfCombat,
|
||||
Conditional
|
||||
OneUse(""),
|
||||
EndOfGame("for the rest of the game"),
|
||||
WhileOnBattlefield(""),
|
||||
WhileOnStack(""),
|
||||
EndOfTurn("until end of turn"),
|
||||
EndOfCombat("until end of combat");
|
||||
|
||||
private String text;
|
||||
|
||||
Duration(String text) {
|
||||
this.text = text;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return text;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public enum Layer {
|
||||
|
@ -212,6 +205,7 @@ public final class Constants {
|
|||
UnboostCreature(false),
|
||||
AddAbility(true),
|
||||
GainLife(true),
|
||||
ExtraTurn(true),
|
||||
BecomeCreature(true),
|
||||
PutCreatureInPlay(true),
|
||||
PutCardInPlay(true),
|
||||
|
@ -219,6 +213,7 @@ public final class Constants {
|
|||
GainControl(true),
|
||||
DrawCard(true),
|
||||
Discard(false),
|
||||
Sacrifice(false),
|
||||
Exile(false),
|
||||
Protect(true),
|
||||
PutManaInPool(true),
|
||||
|
|
Loading…
Reference in a new issue