remove code that does nothing

master
melvin 2013-02-27 22:02:18 +08:00
parent c84c30051e
commit 182df544db
3 changed files with 0 additions and 13 deletions

View File

@ -457,9 +457,6 @@ public class MagicPermanent implements MagicSource,MagicTarget,Comparable<MagicP
return cardDefinition.getScore(); return cardDefinition.getScore();
} }
void setCached(final boolean aCached) {
}
public int getDamage() { public int getDamage() {
return damage; return damage;
} }

View File

@ -376,12 +376,6 @@ public class MagicPlayer implements MagicTarget {
return count; return count;
} }
public void setCached(final boolean cached) {
for (final MagicPermanent permanent : permanents) {
permanent.setCached(cached);
}
}
public void setBuilderCost(final MagicBuilderManaCost builderCost) { public void setBuilderCost(final MagicBuilderManaCost builderCost) {
this.builderCost=builderCost; this.builderCost=builderCost;
} }

View File

@ -49,12 +49,8 @@ public class MagicDeclareBlockersResultBuilder {
// Caching for better speed and immediate mode for triggers. // Caching for better speed and immediate mode for triggers.
game.setImmediate(true); game.setImmediate(true);
attackingPlayer.setCached(true);
defendingPlayer.setCached(true);
build(); build();
game.setImmediate(false); game.setImmediate(false);
attackingPlayer.setCached(false);
defendingPlayer.setCached(false);
} }
Collection<Object> getResults() { Collection<Object> getResults() {