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
|
|
@ -30,7 +30,6 @@ import java.util.UUID;
|
|||
*/
|
||||
public abstract class Emblem extends CommandObjectImpl {
|
||||
|
||||
private static final ObjectColor emptyColor = new ObjectColor();
|
||||
private static final ManaCosts emptyCost = new ManaCostsImpl<>();
|
||||
|
||||
private UUID controllerId;
|
||||
|
|
@ -153,17 +152,17 @@ public abstract class Emblem extends CommandObjectImpl {
|
|||
|
||||
@Override
|
||||
public ObjectColor getColor() {
|
||||
return emptyColor;
|
||||
return ObjectColor.COLORLESS;
|
||||
}
|
||||
|
||||
@Override
|
||||
public ObjectColor getColor(Game game) {
|
||||
return emptyColor;
|
||||
return ObjectColor.COLORLESS;
|
||||
}
|
||||
|
||||
@Override
|
||||
public ObjectColor getFrameColor(Game game) {
|
||||
return emptyColor;
|
||||
return ObjectColor.COLORLESS;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue