Skip to content

Commit f130f5e

Browse files
committed
Fixed incorrect parameter type
1 parent b4fed98 commit f130f5e

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

src/tilemaps/TilemapLayer.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1134,7 +1134,7 @@ var TilemapLayer = new Class({
11341134
*/
11351135
tileToWorldX: function (tileX, camera)
11361136
{
1137-
return this.tilemap.tileToWorldX(tileX, camera, this.layer);
1137+
return this.tilemap.tileToWorldX(tileX, camera, this);
11381138
},
11391139

11401140
/**
@@ -1151,7 +1151,7 @@ var TilemapLayer = new Class({
11511151
*/
11521152
tileToWorldY: function (tileY, camera)
11531153
{
1154-
return this.tilemap.tileToWorldY(tileY, camera, this.layer);
1154+
return this.tilemap.tileToWorldY(tileY, camera, this);
11551155
},
11561156

11571157
/**
@@ -1171,7 +1171,7 @@ var TilemapLayer = new Class({
11711171
*/
11721172
tileToWorldXY: function (tileX, tileY, point, camera)
11731173
{
1174-
return this.tilemap.tileToWorldXY(tileX, tileY, point, camera, this.layer);
1174+
return this.tilemap.tileToWorldXY(tileX, tileY, point, camera, this);
11751175
},
11761176

11771177
/**
@@ -1224,7 +1224,7 @@ var TilemapLayer = new Class({
12241224
*/
12251225
worldToTileX: function (worldX, snapToFloor, camera)
12261226
{
1227-
return this.tilemap.worldToTileX(worldX, snapToFloor, camera, this.layer);
1227+
return this.tilemap.worldToTileX(worldX, snapToFloor, camera, this);
12281228
},
12291229

12301230
/**
@@ -1242,7 +1242,7 @@ var TilemapLayer = new Class({
12421242
*/
12431243
worldToTileY: function (worldY, snapToFloor, camera)
12441244
{
1245-
return this.tilemap.worldToTileY(worldY, snapToFloor, camera, this.layer);
1245+
return this.tilemap.worldToTileY(worldY, snapToFloor, camera, this);
12461246
},
12471247

12481248
/**
@@ -1263,7 +1263,7 @@ var TilemapLayer = new Class({
12631263
*/
12641264
worldToTileXY: function (worldX, worldY, snapToFloor, point, camera)
12651265
{
1266-
return this.tilemap.worldToTileXY(worldX, worldY, snapToFloor, point, camera, this.layer);
1266+
return this.tilemap.worldToTileXY(worldX, worldY, snapToFloor, point, camera, this);
12671267
},
12681268

12691269
/**

0 commit comments

Comments
 (0)