Skip to content

Commit 8121977

Browse files
committed
Comments added.
1 parent fceac03 commit 8121977

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

v3/src/gameobjects/tilemap/dynamic/Tilemap.js

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,24 @@ var Tilemap = new Class({
139139
this.tileArray.forEach(callback);
140140
},
141141

142+
// Returns Object containing:
143+
// {
144+
// alpha
145+
// frameWidth,
146+
// frameHeight,
147+
// frameX
148+
// frameY
149+
// id
150+
// index = the tile in the tilset to render
151+
// textureWidth = tileset texture size
152+
// textureHeight
153+
// tint
154+
// visible
155+
// width
156+
// x
157+
// y
158+
// }
159+
142160
getTileAt: function (x, y)
143161
{
144162
var ix = (x|0);

0 commit comments

Comments
 (0)