forked from External/mage
cleanup to use ObjectColor.COLORLESS (#10447)
* Replace for BecomesColorSourceEffect * Replace for BecomesColorTargetEffect * Remove unused class * Use common static instance
This commit is contained in:
parent
7b2f6b3d46
commit
2cdfb255cf
14 changed files with 23 additions and 183 deletions
|
|
@ -25,7 +25,6 @@ import java.util.UUID;
|
|||
*/
|
||||
public abstract class Designation extends MageObjectImpl {
|
||||
|
||||
private static final ObjectColor emptyColor = new ObjectColor();
|
||||
private static final ManaCostsImpl emptyCost = new ManaCostsImpl<>();
|
||||
|
||||
private final DesignationType designationType;
|
||||
|
|
@ -82,7 +81,7 @@ public abstract class Designation extends MageObjectImpl {
|
|||
|
||||
@Override
|
||||
public ObjectColor getFrameColor(Game game) {
|
||||
return emptyColor;
|
||||
return ObjectColor.COLORLESS;
|
||||
}
|
||||
|
||||
public DesignationType getDesignationType() {
|
||||
|
|
@ -121,12 +120,12 @@ public abstract class Designation extends MageObjectImpl {
|
|||
|
||||
@Override
|
||||
public ObjectColor getColor() {
|
||||
return emptyColor;
|
||||
return ObjectColor.COLORLESS;
|
||||
}
|
||||
|
||||
@Override
|
||||
public ObjectColor getColor(Game game) {
|
||||
return emptyColor;
|
||||
return ObjectColor.COLORLESS;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue