mirror of
https://github.com/magefree/mage.git
synced 2025-12-20 10:40:06 -08:00
removed Copier
This commit is contained in:
parent
978f697f41
commit
442e127ab7
1 changed files with 1 additions and 7 deletions
|
|
@ -64,7 +64,7 @@ import mage.watchers.Watchers;
|
||||||
*/
|
*/
|
||||||
public class GameState implements Serializable {
|
public class GameState implements Serializable {
|
||||||
|
|
||||||
private static final transient Copier<GameState> copier = new Copier<GameState>();
|
// private static final transient Copier<GameState> copier = new Copier<GameState>();
|
||||||
private Players players = new Players();
|
private Players players = new Players();
|
||||||
private UUID activePlayerId;
|
private UUID activePlayerId;
|
||||||
private UUID priorityPlayerId;
|
private UUID priorityPlayerId;
|
||||||
|
|
@ -233,12 +233,6 @@ public class GameState implements Serializable {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
public GameState copy() {
|
|
||||||
|
|
||||||
return copier.copy(this);
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
public void restore(GameState state) {
|
public void restore(GameState state) {
|
||||||
this.stack = state.stack;
|
this.stack = state.stack;
|
||||||
this.effects = state.effects;
|
this.effects = state.effects;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue