File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2029,7 +2029,7 @@ var Tilemap = new Class({
20292029 /**
20302030 * Sets collision on all tiles in the given layer, except for tiles that have an index specified in
20312031 * the given array. The `collides` parameter controls if collision will be enabled (true) or
2032- * disabled (false).
2032+ * disabled (false). Tile indexes not currently in the layer are not affected.
20332033 *
20342034 * If no layer specified, the map's current layer is used.
20352035 *
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ var SetLayerCollisionIndex = require('./SetLayerCollisionIndex');
1111/**
1212 * Sets collision on all tiles in the given layer, except for tiles that have an index specified in
1313 * the given array. The `collides` parameter controls if collision will be enabled (true) or
14- * disabled (false).
14+ * disabled (false). Tile indexes not currently in the layer are not affected.
1515 *
1616 * @function Phaser.Tilemaps.Components.SetCollisionByExclusion
1717 * @private
Original file line number Diff line number Diff line change @@ -1032,7 +1032,7 @@ var DynamicTilemapLayer = new Class({
10321032 /**
10331033 * Sets collision on all tiles in the given layer, except for tiles that have an index specified in
10341034 * the given array. The `collides` parameter controls if collision will be enabled (true) or
1035- * disabled (false).
1035+ * disabled (false). Tile indexes not currently in the layer are not affected.
10361036 *
10371037 * @method Phaser.Tilemaps.DynamicTilemapLayer#setCollisionByExclusion
10381038 * @since 3.0.0
Original file line number Diff line number Diff line change @@ -1229,7 +1229,7 @@ var StaticTilemapLayer = new Class({
12291229 /**
12301230 * Sets collision on all tiles in the given layer, except for tiles that have an index specified in
12311231 * the given array. The `collides` parameter controls if collision will be enabled (true) or
1232- * disabled (false).
1232+ * disabled (false). Tile indexes not currently in the layer are not affected.
12331233 *
12341234 * @method Phaser.Tilemaps.StaticTilemapLayer#setCollisionByExclusion
12351235 * @since 3.0.0
You can’t perform that action at this time.
0 commit comments