Esempio n. 1
0
    /// <summary>
    /// Loads an instance.
    /// </summary>
    /// <returns></returns>
    public bool Load()
    {
        // Load the game

        // Get game state data

        // Deserialize data
        GameDataContainer tileDataContainer = XMLSerializer.Deserialize <GameDataContainer>(Path);

        Money = tileDataContainer.GameStateData.Money;

        // Load the world
        _map.Load(Path);

        return(true);
    }
Esempio n. 2
0
 public void Load(BinaryReader BR)
 {
     GroundLayer.Load(BR);
 }