GameActionUtil: add getOptionalCostValues to return OptionalCost with its Cost objects

SpellAbility: add canPlayWithOptionalCost
PlayerControllerHuman: got formated
This commit is contained in:
Hanmac
2017-06-21 04:23:30 +00:00
parent d2b1c17f4e
commit e29ec6fb83
10 changed files with 930 additions and 491 deletions

View File

@@ -53,6 +53,7 @@ import forge.game.player.PlayerController;
import forge.game.player.PlayerView;
import forge.game.replacement.ReplacementEffect;
import forge.game.spellability.AbilitySub;
import forge.game.spellability.OptionalCostValue;
import forge.game.spellability.Spell;
import forge.game.spellability.SpellAbility;
import forge.game.spellability.SpellAbilityStackInstance;
@@ -676,4 +677,11 @@ public class PlayerControllerForTests extends PlayerController {
return Lists.newArrayList();
}
@Override
public List<OptionalCostValue> chooseOptionalCosts(SpellAbility choosen,
List<OptionalCostValue> optionalCostValues) {
// TODO Auto-generated method stub
return null;
}
}