mirror of
https://github.com/photonstorm/phaser
synced 2024-11-27 07:01:20 +00:00
Comments added.
This commit is contained in:
parent
fceac030ce
commit
812197744f
1 changed files with 18 additions and 0 deletions
|
@ -139,6 +139,24 @@ var Tilemap = new Class({
|
|||
this.tileArray.forEach(callback);
|
||||
},
|
||||
|
||||
// Returns Object containing:
|
||||
// {
|
||||
// alpha
|
||||
// frameWidth,
|
||||
// frameHeight,
|
||||
// frameX
|
||||
// frameY
|
||||
// id
|
||||
// index = the tile in the tilset to render
|
||||
// textureWidth = tileset texture size
|
||||
// textureHeight
|
||||
// tint
|
||||
// visible
|
||||
// width
|
||||
// x
|
||||
// y
|
||||
// }
|
||||
|
||||
getTileAt: function (x, y)
|
||||
{
|
||||
var ix = (x|0);
|
||||
|
|
Loading…
Reference in a new issue