* Reworked some parts of transform handling. Fixes #2396.

This commit is contained in:
LevelX2 2016-09-28 17:02:37 +02:00
parent e57da7598e
commit 86648c7190
157 changed files with 246 additions and 204 deletions

View file

@ -646,7 +646,7 @@ public class Spell extends StackObjImpl implements Card {
}
@Override
public boolean canTransform() {
public boolean isTransformable() {
return false;
}
@ -804,6 +804,11 @@ public class Spell extends StackObjImpl implements Card {
throw new UnsupportedOperationException("Unsupported operation");
}
@Override
public void setTransformable(boolean value) {
throw new UnsupportedOperationException("Unsupported operation");
}
@Override
public int getZoneChangeCounter(Game game) {
return card.getZoneChangeCounter(game);