mirror of
https://github.com/magefree/mage.git
synced 2025-12-20 02:30:08 -08: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 {
|
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),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue