- Added a TODO note to GameActionUtil (if fully chained inputs are implemented in the future), fixed imports.

This commit is contained in:
Agetian
2012-12-01 13:14:34 +00:00
parent 08d9902b98
commit 7392fd62c3

View File

@@ -50,8 +50,6 @@ import forge.card.spellability.SpellAbilityRestriction;
import forge.control.input.InputPayDiscardCost;
import forge.control.input.InputPayManaCostAbility;
import forge.control.input.InputPayReturnCost;
import forge.control.input.InputPaySacCost;
import forge.game.GameLossReason;
import forge.game.event.CardDamagedEvent;
import forge.game.event.FlipCoinEvent;
import forge.game.event.LifeLossEvent;
@@ -537,6 +535,10 @@ public final class GameActionUtil {
}
costPart = remainingParts.get(0);
//TODO: if a full-featured algorithm to chain together input-based costs is implemented
// at some point in time, it's possible to restore the InputPaySacCost-based input
// interface for sacrifice costs (instead of the menu-based one above).
//the following costs need inputs and can't be combined at the moment
if (costPart instanceof CostReturn) {
final boolean bResolving = Singletons.getModel().getGame().getStack().isResolving();