Player: add getInboundTokens to make it accessable in Game#forEachCardInGame

This commit is contained in:
Hanmac
2017-03-11 17:15:48 +00:00
parent 55bc232e05
commit adea3a4016
2 changed files with 5 additions and 0 deletions

View File

@@ -534,6 +534,7 @@ public class Game {
visitor.visitAll(player.getZone(ZoneType.Battlefield).getCards(false));
visitor.visitAll(player.getZone(ZoneType.Exile).getCards());
visitor.visitAll(player.getZone(ZoneType.Command).getCards());
visitor.visitAll(player.getInboundTokens());
}
visitor.visitAll(getStackZone().getCards());
}

View File

@@ -2804,6 +2804,10 @@ public class Player extends GameEntity implements Comparable<Player> {
return false;
}
public CardCollectionView getInboundTokens() {
return inboundTokens;
}
public void addInboundToken(Card c) {
inboundTokens.add(c);
}