Skip to content

Commit ebabf97

Browse files
committed
Comment clarification
1 parent 4abf0df commit ebabf97

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/gameobjects/tilemap/components/SetCollisionFromCollisionGroup.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@ var SetTileCollision = require('./SetTileCollision');
22
var CalculateFacesWithin = require('./CalculateFacesWithin');
33

44
/**
5-
* Sets collision on the tiles within a layer by checking if the tile has a collision group
6-
* (typically defined in Tiled within the tileset collision editor). If any collision objects are
7-
* found, the tile's colliding information will be set. The `collides` parameter controls if
8-
* collision will be enabled (true) or disabled (false).
5+
* Sets collision on the tiles within a layer by checking each tile's collision group data
6+
* (typically defined in Tiled within the tileset collision editor). If any objects are found within
7+
* a tile's collision group, the tile's colliding information will be set. The `collides` parameter
8+
* controls if collision will be enabled (true) or disabled (false).
99
*
1010
* @param {boolean} [collides=true] - If true it will enable collision. If false it will clear
1111
* collision.

0 commit comments

Comments
 (0)