public MapSectionPreview(MapSectionContainer section) { this.section = section; pixel = new Texture2D(section.Map.Game.GraphicsDevice, 1, 1); pixel.SetData(new[] { Color.White }); previewTilePositions = new List <Point>(); UpdatePreviewTilesFromRealSection(); }
public void LoadSection(MapSectionContainer section) { Map.LoadSectionFromIndex(section.Index); }