Skip to content

Commit e3f402e

Browse files
committed
Clean-up and comments.
1 parent 5509542 commit e3f402e

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/tilemap/Tileset.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -154,11 +154,11 @@ Phaser.Tileset.prototype = {
154154
},
155155

156156
/**
157-
* Draws a tile from this Tileset at the given coordinates.
157+
* Draws a tile from this Tileset at the given coordinates using a WebGl renderer.
158158
*
159-
* @method Phaser.Tileset#draw
159+
* @method Phaser.Tileset#drawGl
160160
* @public
161-
* @param {Array} glBatch - A list of webgl batch objects to draw later.
161+
* @param out {Array} glBatch - A list of webgl batch objects to draw later.
162162
* @param {number} x - The x coordinate to draw to.
163163
* @param {number} y - The y coordinate to draw to.
164164
* @param {integer} index - The index of the tile within the set to draw.
@@ -190,7 +190,7 @@ Phaser.Tileset.prototype = {
190190
},
191191

192192
/**
193-
* adds a marker for the batch display to insert a degenerate triangle (eg. at the end of each row of tiles)
193+
* adds a marker for the WebGl batch display to insert a degenerate triangle (eg. at the end of each row of tiles)
194194
*
195195
* @param {[type]} glBatch [description]
196196
*/

0 commit comments

Comments
 (0)