protected override void LoadContent() { _spriteBatch = new SpriteBatch(GraphicsDevice); // TODO: use this.Content to load your game content here _ogmoSettings = Content.Load <OgmoSettings>("sample"); Console.WriteLine(_ogmoSettings.TileLayers.Length); _tilesetTexture = Content.Load <Texture2D>("cavesofgallet_tiles"); _ogmoMap = Content.Load <OgmoMap>("lv1"); _ogmoMapTileLayer = new OgmoMapTileLayer(_ogmoMap.MapSize, _ogmoMap.MapOffset, _ogmoMap.TilesLayers[0], new OgmoTileset(_ogmoSettings.TilesetSettings[0], _tilesetTexture)); }
public abstract void Load(OgmoMap map);