public class TiledObjectGroup extends Object
TiledObjects loaded from a TiledMap| Constructor and Description | 
|---|
TiledObjectGroup()
Constructor 
 | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
containsProperty(String propertyName)
Returns if the group contains the specified property 
 | 
int | 
getHeight()
Returns the height of the group in tiles 
 | 
String | 
getName()
Returns the name of this group 
 | 
List<TiledObject> | 
getObjects()
Returns the objects within this group 
 | 
String | 
getProperty(String propertyName)
Returns the value of a specified property 
 | 
int | 
getWidth()
Returns the width of the group in tiles 
 | 
void | 
setHeight(int height)
Sets the height of the group in tiles 
 | 
void | 
setName(String name)
Sets the name of this group 
 | 
void | 
setProperty(String propertyName,
           String value)
Sets the value of a specified property 
 | 
void | 
setWidth(int width)
Sets the width of the group in tiles 
 | 
public boolean containsProperty(String propertyName)
propertyName - The property name to search forpublic String getProperty(String propertyName)
propertyName - The property name to search forpublic void setProperty(String propertyName, String value)
propertyName - The property name to set the value forvalue - The value of the property to setpublic String getName()
public void setName(String name)
name - public int getWidth()
public void setWidth(int width)
width - public int getHeight()
public void setHeight(int height)
height - public List<TiledObject> getObjects()
Copyright © 2014. All rights reserved.