mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 12:48:00 +00:00
GameSimTest: add test for Dimir Doppelganger
This commit is contained in:
@@ -3121,6 +3121,16 @@ public class Card extends GameEntity implements Comparable<Card> {
|
||||
clonedStates.clear();
|
||||
}
|
||||
|
||||
public final Map<Long, CardCloneStates> getCloneStates() {
|
||||
return clonedStates;
|
||||
}
|
||||
|
||||
public final void setCloneStates(Map<Long, CardCloneStates> val) {
|
||||
clonedStates.clear();
|
||||
clonedStates.putAll(val);
|
||||
updateCloneState(true);
|
||||
}
|
||||
|
||||
private final void updateCloneState(final boolean updateView) {
|
||||
if (isFaceDown()) {
|
||||
setState(CardStateName.FaceDown, updateView, true);
|
||||
|
||||
Reference in New Issue
Block a user