update textbox tint

This commit is contained in:
Anthony Calosa
2021-08-21 14:20:47 +08:00
parent 2f78d910e1
commit b9205b4b1e
3 changed files with 58 additions and 2 deletions

View File

@@ -1360,6 +1360,21 @@ public class CardView extends GameEntityView {
public boolean isPlaneswalker() {
return getType().isPlaneswalker();
}
public boolean isMountain() {
return getType().hasSubtype("Mountain");
}
public boolean isPlains() {
return getType().hasSubtype("Plains");
}
public boolean isSwamp() {
return getType().hasSubtype("Swamp");
}
public boolean isForest() {
return getType().hasSubtype("Forest");
}
public boolean isIsland() {
return getType().hasSubtype("Island");
}
}
//special methods for updating card and player properties as needed and returning the new collection