public class TiledObjectGroup extends Layer
TiledObjects loaded from a TiledMap| Constructor and Description | 
|---|
| TiledObjectGroup()Constructor | 
| Modifier and Type | Method and Description | 
|---|---|
| int | getHeight()Returns the height of the group in tiles | 
| TiledObject | getObjectById(int id)Returns the  TiledObjectwith the specified ID | 
| TiledObject | getObjectByName(java.lang.String name)Returns the  TiledObjectwith the specified name | 
| com.badlogic.gdx.utils.Array<TiledObject> | getObjects()Returns the objects within this group | 
| int | getWidth()Returns the width of the group in tiles | 
| void | setHeight(int height)Sets the height of the group in tiles | 
| void | setWidth(int width)Sets the width of the group in tiles | 
containsProperty, getIndex, getLayerType, getName, getProperties, getProperty, isVisible, setIndex, setName, setProperty, setVisiblepublic int getWidth()
public void setWidth(int width)
width - public int getHeight()
public void setHeight(int height)
height - public com.badlogic.gdx.utils.Array<TiledObject> getObjects()
public TiledObject getObjectById(int id)
TiledObject with the specified IDid - The ID to search forpublic TiledObject getObjectByName(java.lang.String name)
TiledObject with the specified namename - The name to search for