Tests: fixed that some game errors can't be caught by test framework (related to d202278ccd)

This commit is contained in:
Oleg Agafonov 2021-08-11 01:45:12 +04:00
parent 4a8f9d9308
commit 8a69ea97e7
3 changed files with 14 additions and 12 deletions

View file

@ -37,6 +37,7 @@ import mage.game.turn.Turn;
import mage.players.Player;
import mage.players.PlayerList;
import mage.players.Players;
import mage.util.Copyable;
import mage.util.MessageToClient;
import mage.util.functions.CopyApplier;
@ -44,7 +45,7 @@ import java.io.Serializable;
import java.util.*;
import java.util.stream.Collectors;
public interface Game extends MageItem, Serializable {
public interface Game extends MageItem, Serializable, Copyable<Game> {
MatchType getGameType();
@ -217,8 +218,6 @@ public interface Game extends MageItem, Serializable {
void loadGameStates(GameStates states);
Game copy();
boolean isSimulation();
void setSimulation(boolean checkPlayableState);