Removed unused code (optionalCost);

This commit is contained in:
Oleg Agafonov 2020-09-13 10:33:13 +04:00
parent 6e0c7e868c
commit c325a6d2f0
4 changed files with 0 additions and 81 deletions

View file

@ -139,23 +139,6 @@ public interface Ability extends Controllable, Serializable {
*/
void addManaCost(ManaCost cost);
/**
* TODO Method is unused, keep it around?
* <p>
* Gets all costs that are optional to this ability. These costs can be paid
* in addition to other costs to have other effects put into place.
*
* @return All {@link Costs} that can be paid above and beyond other costs.
*/
Costs<Cost> getOptionalCosts();
/**
* Adds a {@link Cost} that is optional to this ability.
*
* @param cost The {@link Cost} to add to the optional costs.
*/
void addOptionalCost(Cost cost);
/**
* Retrieves the effects that are put into the place by the resolution of
* this ability.