コード例 #1
0
    public GameState Load()
    {
        Player player;

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