55using Intersect . Editor . Localization ;
66using Intersect . Enums ;
77using Intersect . Framework . Core . GameObjects . Items ;
8+ using Intersect . Framework . Core . GameObjects . Mapping . Tilesets ;
89using Intersect . Framework . Core . GameObjects . Maps ;
910using Intersect . Framework . Core . GameObjects . Maps . Attributes ;
1011using Intersect . Framework . Core . GameObjects . Maps . MapList ;
@@ -286,7 +287,7 @@ public void InitTilesets()
286287 {
287288 Globals . MapLayersWindow . cmbTilesets . Items . Clear ( ) ;
288289 var tilesetList = new List < string > ( ) ;
289- tilesetList . AddRange ( TilesetBase . Names ) ;
290+ tilesetList . AddRange ( TilesetDescriptor . Names ) ;
290291 tilesetList . Sort ( new AlphanumComparatorFast ( ) ) ;
291292 foreach ( var filename in tilesetList )
292293 {
@@ -299,21 +300,21 @@ public void InitTilesets()
299300 }
300301 }
301302
302- if ( TilesetBase . Lookup . Count > 0 )
303+ if ( TilesetDescriptor . Lookup . Count > 0 )
303304 {
304305 if ( Globals . MapLayersWindow . cmbTilesets . Items . Count > 0 )
305306 {
306307 Globals . MapLayersWindow . cmbTilesets . SelectedIndex = 0 ;
307308 }
308309
309- Globals . CurrentTileset = ( TilesetBase ) TilesetBase . Lookup . Values . ToArray ( ) [ 0 ] ;
310+ Globals . CurrentTileset = ( TilesetDescriptor ) TilesetDescriptor . Lookup . Values . ToArray ( ) [ 0 ] ;
310311 }
311312 }
312313
313314 public void SetTileset ( string name )
314315 {
315- TilesetBase tSet = null ;
316- var tilesets = TilesetBase . Lookup ;
316+ TilesetDescriptor tSet = null ;
317+ var tilesets = TilesetDescriptor . Lookup ;
317318 var id = Guid . Empty ;
318319 foreach ( var tileset in tilesets . Pairs )
319320 {
@@ -327,7 +328,7 @@ public void SetTileset(string name)
327328
328329 if ( id != Guid . Empty )
329330 {
330- tSet = TilesetBase . Get ( id ) ;
331+ tSet = TilesetDescriptor . Get ( id ) ;
331332 }
332333
333334 if ( tSet != null )
0 commit comments