forked from External/mage
Remove obsolete adjustCosts and adjustTargets methods from MageObject interface
This commit is contained in:
parent
a5e21b8c9e
commit
79b7a0a627
15 changed files with 13 additions and 116 deletions
|
|
@ -388,22 +388,6 @@ public class StackAbility extends StackObjectImpl implements Ability {
|
|||
this.expansionSetCode = expansionSetCode;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void adjustCosts(Ability ability, Game game) {
|
||||
Card card = game.getCard(ability.getSourceId());
|
||||
if (card != null) {
|
||||
card.adjustCosts(ability, game);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void adjustTargets(Ability ability, Game game) {
|
||||
Card card = game.getCard(ability.getSourceId());
|
||||
if (card != null) {
|
||||
card.adjustTargets(ability, game);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean checkIfClause(Game game) {
|
||||
return true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue