public MapPanel(TextureInfo tilesetImage, GameMap map) { this.Initialize(); this.TextureInfo = tilesetImage; this.Open(map); }
/// <summary> /// Ouvre la carte /// </summary> /// <param name="map"></param> public void Open(GameMap map) { this.Map = map; this.Map.MapChanged += GameMap_MapChanged; this.IsSaved = true; }