Set the correct TimingRule for Spells != Instants, some minor changes to can be cast checks (missing class).

This commit is contained in:
LevelX2 2014-02-11 16:11:45 +01:00
parent aa359cd1b6
commit acdabbaaac

View file

@ -55,6 +55,7 @@ import mage.target.Target;
/**
*
* @author BetaSteward_at_googlemail.com
* @param <T>
*/
public abstract class ActivatedAbilityImpl<T extends ActivatedAbilityImpl<T>> extends AbilityImpl<T> implements ActivatedAbility {
@ -338,4 +339,13 @@ public abstract class ActivatedAbilityImpl<T extends ActivatedAbilityImpl<T>> ex
public UUID getActivatorId() {
return this.activatorId;
}
public TimingRule getTiming() {
return timing;
}
public void setTiming(TimingRule timing) {
this.timing = timing;
}
}