(final Iterable<Card> cards)
| 167 | } |
| 168 | |
| 169 | public final void setCards(final Iterable<Card> cards) { |
| 170 | cardList.clear(); |
| 171 | for (Card c : cards) { |
| 172 | c.setZone(this); |
| 173 | cardList.add(c); |
| 174 | } |
| 175 | onChanged(); |
| 176 | game.fireEvent(new GameEventZone(zoneType, getPlayer(), EventValueChangeType.ComplexUpdate, null)); |
| 177 | } |
| 178 | |
| 179 | public final void removeAllCards(boolean forcedWithoutEvents) { |
| 180 | if (forcedWithoutEvents) { |
no test coverage detected