|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.newdawn.slick.tiled.TiledMap.GroupObject
protected class TiledMap.GroupObject
An object from a object-group on the map
| Field Summary | |
|---|---|
int |
height
The height of this object |
int |
index
The index of this object |
java.lang.String |
name
The name of this object - read from the XML |
java.util.Properties |
props
the properties of this group |
java.lang.String |
type
The type of this object - read from the XML |
int |
width
The width of this object |
int |
x
The x-coordinate of this object |
int |
y
The y-coordinate of this object |
| Constructor Summary | |
|---|---|
TiledMap.GroupObject(org.w3c.dom.Element element)
Create a new group based on the XML definition |
|
| Method Summary |
|---|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public int index
public java.lang.String name
public java.lang.String type
public int x
public int y
public int width
public int height
public java.util.Properties props
| Constructor Detail |
|---|
public TiledMap.GroupObject(org.w3c.dom.Element element)
throws SlickException
element - The XML element describing the layer
SlickException - Indicates a failure to parse the XML group
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||