Controllable interface. Fixed ControllerPredicate.

This commit is contained in:
magenoxx 2012-07-20 18:30:24 +04:00
parent 59b9087257
commit 8fdc5a33d8
4 changed files with 51 additions and 10 deletions

View file

@ -33,12 +33,13 @@ import mage.abilities.Ability;
import mage.cards.Card;
import mage.counters.Counter;
import mage.counters.Counters;
import mage.game.Controllable;
import mage.game.Game;
import java.util.List;
import java.util.UUID;
public interface Permanent extends Card {
public interface Permanent extends Card, Controllable {
public boolean isTapped();
public boolean untap(Game game);
@ -72,7 +73,6 @@ public interface Permanent extends Card {
public boolean addAttachment(UUID permanentId, Game game);
public boolean removeAttachment(UUID permanentId, Game game);
public UUID getControllerId();
public boolean changeControllerId(UUID controllerId, Game game);
public boolean canBeTargetedBy(MageObject source, UUID controllerId, Game game);
public boolean hasProtectionFrom(MageObject source, Game game);