forked from External/mage
* Switched from UUID to MageObjectReference to handle affected objects of continuous effects. Solvng problems with objects that changed (multiple times) zones while the effect lasts.
This commit is contained in:
parent
9ff1f60903
commit
02ba80b719
41 changed files with 407 additions and 342 deletions
|
|
@ -28,16 +28,14 @@
|
|||
|
||||
package mage.abilities.effects;
|
||||
|
||||
import java.util.List;
|
||||
import mage.MageObjectReference;
|
||||
import mage.abilities.Ability;
|
||||
import mage.constants.Duration;
|
||||
import mage.constants.Layer;
|
||||
import mage.constants.SubLayer;
|
||||
import mage.abilities.Ability;
|
||||
import mage.game.Game;
|
||||
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author BetaSteward_at_googlemail.com
|
||||
|
|
@ -57,7 +55,7 @@ public interface ContinuousEffect extends Effect {
|
|||
Layer getLayer();
|
||||
SubLayer getSublayer();
|
||||
void overrideRuleText(String text);
|
||||
List<UUID> getAffectedObjects();
|
||||
List<MageObjectReference> getAffectedObjects();
|
||||
|
||||
@Override
|
||||
void newId();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue