Regeneration Rework:

- Regenerate or RegenerateAll does create an Effect
in Command which does replace Destroy if possible
- Trigger Regenerated will be added to the Effect
if something does care about "regenerated that way"
- new Regeneration Api is the internal effect
that does handle the actual regeneration
- ReplaceDestroy has Section to handle if Regeneration is possible
- CardShields are removed with the option in PlayerController
This commit is contained in:
Hanmac
2018-02-06 12:56:02 +01:00
parent 8b26deb477
commit ff7a0f1ae6
23 changed files with 319 additions and 229 deletions

View File

@@ -566,11 +566,6 @@ public class PlayerControllerForTests extends PlayerController {
// test this!
}
@Override
public CardShields chooseRegenerationShield(Card c) {
return Iterables.getFirst(c.getShields(), null);
}
@Override
public List<PaperCard> chooseCardsYouWonToAddToDeck(List<PaperCard> losses) {
// TODO Auto-generated method stub