forked from External/mage
rename counttype to comparisontype
This commit is contained in:
parent
60a325c43f
commit
03643d53a3
489 changed files with 1062 additions and 1062 deletions
|
|
@ -28,7 +28,7 @@
|
|||
package mage.abilities.condition;
|
||||
|
||||
import mage.abilities.Ability;
|
||||
import mage.abilities.CountType;
|
||||
import mage.constants.ComparisonType;
|
||||
import mage.game.Game;
|
||||
|
||||
/**
|
||||
|
|
@ -37,10 +37,10 @@ import mage.game.Game;
|
|||
*/
|
||||
public abstract class IntCompareCondition implements Condition {
|
||||
|
||||
protected final CountType type;
|
||||
protected final ComparisonType type;
|
||||
protected final int value;
|
||||
|
||||
public IntCompareCondition(CountType type, int value) {
|
||||
public IntCompareCondition(ComparisonType type, int value) {
|
||||
this.type = type;
|
||||
this.value = value;
|
||||
}
|
||||
|
|
@ -50,7 +50,7 @@ public abstract class IntCompareCondition implements Condition {
|
|||
@Override
|
||||
public final boolean apply(Game game, Ability source) {
|
||||
int inputValue = getInputValue(game, source);
|
||||
return CountType.compare(inputValue , type, value);
|
||||
return ComparisonType.compare(inputValue , type, value);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue