forked from External/mage
put comparing logic in counttype, remove all switches
This commit is contained in:
parent
0adc715499
commit
3d029d6ad5
8 changed files with 66 additions and 145 deletions
|
|
@ -13,7 +13,7 @@ import mage.game.Game;
|
|||
@FunctionalInterface
|
||||
public interface Condition extends Serializable {
|
||||
|
||||
public enum ComparisonType {
|
||||
enum ComparisonType {
|
||||
|
||||
GreaterThan(">"),
|
||||
Equal("=="),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue