Getting stack ability in Stack objects.

This commit is contained in:
magenoxx 2011-03-08 10:19:34 +03:00
parent 333562f721
commit 115799564f
3 changed files with 10 additions and 0 deletions

View file

@ -329,4 +329,9 @@ public class Spell<T extends Spell<T>> implements StackObject, Card {
public boolean cast(Game game, Zone fromZone, SpellAbility ability, UUID controllerId) {
throw new UnsupportedOperationException("Unsupported operation");
}
public Ability getStackAbility() {
return this.ability;
}
}