forked from External/mage
Removed old AlternativeCost class, that's no longer used in cards.
This commit is contained in:
parent
29b37b046d
commit
19d67f9a83
8 changed files with 47 additions and 257 deletions
|
|
@ -31,7 +31,6 @@ import java.io.Serializable;
|
|||
import java.util.List;
|
||||
import java.util.UUID;
|
||||
import mage.MageObject;
|
||||
import mage.abilities.costs.AlternativeCost;
|
||||
import mage.abilities.costs.Cost;
|
||||
import mage.abilities.costs.Costs;
|
||||
import mage.abilities.costs.mana.ManaCost;
|
||||
|
|
@ -169,22 +168,6 @@ public interface Ability extends Controllable, Serializable {
|
|||
*/
|
||||
void addManaCost(ManaCost cost);
|
||||
|
||||
/**
|
||||
* Gets all {@link AlternativeCost} associated with this ability.
|
||||
*
|
||||
* @return All {@link AlternativeCost}'s that can be paid instead of the
|
||||
* {@link ManaCosts}
|
||||
*/
|
||||
List<AlternativeCost> getAlternativeCosts();
|
||||
|
||||
/**
|
||||
* Adds an {@link AlternativeCost} this ability that may be paid instead of
|
||||
* any other cost.
|
||||
*
|
||||
* @param cost The {@link AlternativeCost} to add.
|
||||
*/
|
||||
void addAlternativeCost(AlternativeCost cost);
|
||||
|
||||
/**
|
||||
* TODO Method is unused, keep it around?
|
||||
*
|
||||
|
|
@ -323,7 +306,6 @@ public interface Ability extends Controllable, Serializable {
|
|||
|
||||
/**
|
||||
* Activates this ability prompting the controller to pay any mandatory
|
||||
* {@link Costs} or {@link AlternativeCost} associated with this ability.
|
||||
*
|
||||
* @param game A reference the {@link Game} for which this ability should be
|
||||
* activated within.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue