foul-magics/Mage/src/main/java/mage/util/Copyable.java
Oleg Agafonov 1664ee01cf Fixed miss copy code in Game object (lki, cards), removed unused code. Possible fixes:
* simulated games was able to change objects from another games (ConcurrentModificationException, related to d202278ccd, details in 3a6cdd2615);
* AI: fixed cards disappear in multiplayer games with computer (details in #6738);
2021-08-12 00:08:08 +04:00

9 lines
137 B
Java

package mage.util;
/**
* @author BetaSteward_at_googlemail.com
*/
@FunctionalInterface
public interface Copyable<T> {
T copy();
}