@@ -38,8 +38,6 @@ var Tilemap = new Class({
3838 this . tiles = mapData . tiles ;
3939 this . objects = mapData . objects ;
4040 this . currentLayerIndex = 0 ;
41-
42- // TODO: debugging methods
4341 } ,
4442
4543 addTilesetImage : function ( tilesetName , key , tileWidth , tileHeight , tileMargin , tileSpacing , gid )
@@ -57,8 +55,6 @@ var Tilemap = new Class({
5755
5856 var texture = this . scene . sys . textures . get ( key ) ;
5957
60- // TODO: potentially add in v2 support for bitmap data
61-
6258 var index = this . getTilesetIndex ( tilesetName ) ;
6359
6460 if ( index === null && this . format === Formats . TILEMAP_TILED_JSON )
@@ -83,8 +79,6 @@ var Tilemap = new Class({
8379 tileset . setImage ( texture ) ;
8480 this . tilesets . push ( tileset ) ;
8581 return tileset ;
86-
87- // TODO: add in GID & master list of tiles
8882 } ,
8983
9084 // Creates & selects
@@ -127,8 +121,6 @@ var Tilemap = new Class({
127121 this . layers . push ( layerData ) ;
128122 this . currentLayerIndex = this . layers . length - 1 ;
129123
130- // TODO: decide about v2 trimming to game width/height
131-
132124 var dynamicLayer = new DynamicTilemapLayer ( this . scene , this , this . currentLayerIndex , tileset , x , y ) ;
133125 this . scene . sys . displayList . add ( dynamicLayer ) ;
134126
@@ -238,9 +230,6 @@ var Tilemap = new Class({
238230 return null ;
239231 }
240232
241- // TODO: new feature, allow multiple CSV layers
242- // TODO: display dimension
243-
244233 this . currentLayerIndex = index ;
245234
246235 var layer = new StaticTilemapLayer ( this . scene , this , index , tileset , x , y ) ;
@@ -266,9 +255,6 @@ var Tilemap = new Class({
266255 return null ;
267256 }
268257
269- // TODO: new feature, allow multiple CSV layers
270- // TODO: display dimension
271-
272258 this . currentLayerIndex = index ;
273259
274260 var layer = new DynamicTilemapLayer ( this . scene , this , index , tileset , x , y ) ;
0 commit comments