/// <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); }
public void Load(BinaryReader BR) { GroundLayer.Load(BR); }