public class

TMXTile

extends Object
java.lang.Object
   ↳ org.anddev.andengine.entity.layer.tiled.tmx.TMXTile

Class Overview

(c) 2010 Nicolas Gramlich (c) 2011 Zynga Inc.

Summary

Public Constructors
TMXTile(int pGlobalTileID, int pTileColumn, int pTileRow, int pTileWidth, int pTileHeight, TextureRegion pTextureRegion)
Public Methods
int getGlobalTileID()
TMXProperties<TMXTileProperty> getTMXTileProperties(TMXTiledMap pTMXTiledMap)
TextureRegion getTextureRegion()
int getTileColumn()
int getTileHeight()
int getTileRow()
int getTileWidth()
int getTileX()
int getTileY()
void setGlobalTileID(TMXTiledMap pTMXTiledMap, int pGlobalTileID)
Note this will also set the TextureRegion with the associated pGlobalTileID of the TMXTiledMap.
void setTextureRegion(TextureRegion pTextureRegion)
You'd probably want to call setGlobalTileID(TMXTiledMap, int) instead.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public TMXTile (int pGlobalTileID, int pTileColumn, int pTileRow, int pTileWidth, int pTileHeight, TextureRegion pTextureRegion)

Public Methods

public int getGlobalTileID ()

public TMXProperties<TMXTileProperty> getTMXTileProperties (TMXTiledMap pTMXTiledMap)

public TextureRegion getTextureRegion ()

public int getTileColumn ()

public int getTileHeight ()

public int getTileRow ()

public int getTileWidth ()

public int getTileX ()

public int getTileY ()

public void setGlobalTileID (TMXTiledMap pTMXTiledMap, int pGlobalTileID)

Note this will also set the TextureRegion with the associated pGlobalTileID of the TMXTiledMap.

public void setTextureRegion (TextureRegion pTextureRegion)

You'd probably want to call setGlobalTileID(TMXTiledMap, int) instead.