remove MagicStatic's link to MagicCardDefinition

master
melvin 2012-09-26 10:14:40 +08:00
parent 881176dda2
commit f0a2a52db2
1 changed files with 0 additions and 12 deletions

View File

@ -20,9 +20,6 @@ public abstract class MagicStatic extends MagicDummyPermanentModifier implements
//layer where this effect operate
private final MagicLayer layer;
//card definition providing the effect
private MagicCardDefinition cdef;
private boolean isUntilEOT;
protected MagicStatic(final MagicLayer aLayer, final MagicTargetFilter aFilter, final boolean aIsUntilEOT) {
@ -43,18 +40,9 @@ public abstract class MagicStatic extends MagicDummyPermanentModifier implements
this(aLayer, MagicTargetFilter.SELF, false);
}
public void setCardDefinition(final MagicCardDefinition cdef) {
this.cdef = cdef;
}
final MagicCardDefinition getCardDefinition() {
return cdef;
}
@Override
public void change(MagicCardDefinition cdef) {
cdef.addStatic(this);
setCardDefinition(cdef);
}
public final MagicLayer getLayer() {