public class TiledObject
extends java.lang.Object
TiledMap| Constructor and Description | 
|---|
TiledObject(float x,
           float y,
           float width,
           float height)  | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
containsProperty(java.lang.String propertyName)
Returns if the object contains the specified property 
 | 
int | 
getGid()
Returns the GID of this object 
 | 
float | 
getHeight()
Returns the height of this object in pixels 
 | 
java.lang.String | 
getName()
Returns the name of this object 
 | 
java.lang.String | 
getPolygon()  | 
java.lang.String | 
getPolyline()  | 
java.lang.String | 
getProperty(java.lang.String propertyName)
Returns the value of a specified property 
 | 
java.lang.String | 
getType()
Returns the type of this object 
 | 
float | 
getWidth()
Returns the width of this object in pixels 
 | 
float | 
getX()
Returns the x coordinate of this object in pixels 
 | 
float | 
getY()
Returns the y coordinate of this object in pixels 
 | 
boolean | 
isVisible()  | 
void | 
setGid(int gid)
Sets the GID of this object 
 | 
void | 
setName(java.lang.String name)
Sets the name of this object 
 | 
void | 
setPolygon(java.lang.String polygon)  | 
void | 
setPolyline(java.lang.String polyline)  | 
void | 
setProperty(java.lang.String propertyName,
           java.lang.String value)
Sets the value of a specified property 
 | 
void | 
setType(java.lang.String type)
Sets the type of this object 
 | 
void | 
setVisible(boolean visible)  | 
public boolean containsProperty(java.lang.String propertyName)
propertyName - The property name to search forpublic java.lang.String getProperty(java.lang.String propertyName)
propertyName - The property name to search forpublic void setProperty(java.lang.String propertyName,
               java.lang.String value)
propertyName - The property name to set the value forvalue - The value of the property to setpublic java.lang.String getName()
public void setName(java.lang.String name)
name - The name to setpublic java.lang.String getType()
public void setType(java.lang.String type)
type - public float getX()
public float getY()
public float getWidth()
public float getHeight()
public int getGid()
public void setGid(int gid)
gid - public java.lang.String getPolyline()
public void setPolyline(java.lang.String polyline)
public java.lang.String getPolygon()
public void setPolygon(java.lang.String polygon)
public boolean isVisible()
public void setVisible(boolean visible)