forked from External/mage
move methods from cardutil to magepermanent, cardview:getColorText now uses ObjectColor.getDescription
This commit is contained in:
parent
b3110af503
commit
27aea04820
4 changed files with 15 additions and 39 deletions
|
|
@ -10,4 +10,12 @@ public abstract class MagePermanent extends MageCard {
|
|||
public abstract void update(PermanentView card);
|
||||
public abstract PermanentView getOriginalPermanent();
|
||||
|
||||
public boolean isCreature(){
|
||||
return getOriginal().isCreature();
|
||||
}
|
||||
|
||||
public boolean isLand(){
|
||||
return getOriginal().isLand();
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue