public class

TMXLayer

extends RectangularShape
implements TMXConstants
java.lang.Object
   ↳ org.anddev.andengine.entity.Entity
     ↳ org.anddev.andengine.entity.shape.Shape
       ↳ org.anddev.andengine.entity.shape.RectangularShape
         ↳ org.anddev.andengine.entity.layer.tiled.tmx.TMXLayer

Class Overview

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

Summary

[Expand]
Inherited Constants
From class org.anddev.andengine.entity.shape.Shape
From interface org.anddev.andengine.entity.layer.tiled.tmx.util.constants.TMXConstants
[Expand]
Inherited Fields
From class org.anddev.andengine.entity.shape.RectangularShape
From class org.anddev.andengine.entity.shape.Shape
From class org.anddev.andengine.entity.Entity
Public Constructors
TMXLayer(TMXTiledMap pTMXTiledMap, Attributes pAttributes)
Public Methods
void addTMXLayerProperty(TMXLayerProperty pTMXLayerProperty)
String getName()
TMXProperties<TMXLayerProperty> getTMXLayerProperties()
TMXTile getTMXTile(int pTileColumn, int pTileRow)
TMXTile getTMXTileAt(float pX, float pY)
TMXTile[][] getTMXTiles()
int getTileColumns()
int getTileRows()
void setRotation(float pRotation)
Protected Methods
void drawVertices(GL10 pGL, Camera pCamera)
void onApplyVertices(GL10 pGL)
void onInitDraw(GL10 pGL)
void onManagedUpdate(float pSecondsElapsed)
void onUpdateVertexBuffer()
[Expand]
Inherited Methods
From class org.anddev.andengine.entity.shape.RectangularShape
From class org.anddev.andengine.entity.shape.Shape
From class org.anddev.andengine.entity.Entity
From class java.lang.Object
From interface org.anddev.andengine.engine.handler.IUpdateHandler
From interface org.anddev.andengine.entity.IEntity
From interface org.anddev.andengine.entity.scene.Scene.ITouchArea
From interface org.anddev.andengine.entity.shape.IShape
From interface org.anddev.andengine.opengl.IDrawable

Public Constructors

public TMXLayer (TMXTiledMap pTMXTiledMap, Attributes pAttributes)

Public Methods

public void addTMXLayerProperty (TMXLayerProperty pTMXLayerProperty)

public String getName ()

public TMXProperties<TMXLayerProperty> getTMXLayerProperties ()

public TMXTile getTMXTile (int pTileColumn, int pTileRow)

public TMXTile getTMXTileAt (float pX, float pY)

Parameters
pX in SceneCoordinates.
pY in SceneCoordinates.
Returns

public TMXTile[][] getTMXTiles ()

public int getTileColumns ()

public int getTileRows ()

public void setRotation (float pRotation)

Protected Methods

protected void drawVertices (GL10 pGL, Camera pCamera)

protected void onApplyVertices (GL10 pGL)

protected void onInitDraw (GL10 pGL)

protected void onManagedUpdate (float pSecondsElapsed)

protected void onUpdateVertexBuffer ()