Skip to content

Commit 3b7039a

Browse files
Dan CoxDan Cox
authored andcommitted
Documentation change: swap for swapTile
In both Phaser 1.1.6 and 1.2, it says "swapTile" when it means "swap".
1 parent 0d16f87 commit 3b7039a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/tilemap/Tilemap.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1114,7 +1114,7 @@ Phaser.Tilemap.prototype = {
11141114
/**
11151115
* Scans the given area for tiles with an index matching tileA and swaps them with tileB.
11161116
*
1117-
* @method Phaser.Tilemap#swapTile
1117+
* @method Phaser.Tilemap#swap
11181118
* @param {number} tileA - First tile index.
11191119
* @param {number} tileB - Second tile index.
11201120
* @param {number} x - X position of the top left of the area to operate one, given in tiles, not pixels.

0 commit comments

Comments
 (0)