mirror of
https://github.com/correl/mage.git
synced 2024-11-15 03:00:16 +00:00
missed file
This commit is contained in:
parent
d36086acd2
commit
7775a9736e
1 changed files with 7 additions and 0 deletions
|
@ -103,6 +103,13 @@ public class Exile implements Serializable, Copyable<Exile> {
|
|||
return null;
|
||||
}
|
||||
|
||||
public void removeCard(Card card, Game game) {
|
||||
for (ExileZone exile: exileZones.values()) {
|
||||
if (exile.contains(card.getId()))
|
||||
exile.remove(card);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public Exile copy() {
|
||||
return new Exile(this);
|
||||
|
|
Loading…
Reference in a new issue