public GameState Load() { Player player; if (PlayerIO.TryLoad(out player)) { Player = player; return(this); } else { throw new IOException("Не удалось загрузить сохранение"); } }
public GameState Load() { Player player; if (PlayerIO.TryLoad(out player)) { Player = player; return(this); } else { throw new IOException("Не удалось загрузить сохранение"); } }