|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.newdawn.slick.XMLPackedSheet
public class XMLPackedSheet
A sprite sheet based on an XML descriptor generated from the simple slick tool
| Constructor Summary | |
|---|---|
XMLPackedSheet(java.lang.String imageRef,
java.lang.String xmlRef)
Create a new XML packed sheet from the XML output by the slick tool |
|
| Method Summary | |
|---|---|
Image |
getSprite(java.lang.String name)
Get a sprite by it's given name |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XMLPackedSheet(java.lang.String imageRef,
java.lang.String xmlRef)
throws SlickException
imageRef - The reference to the imagexmlRef - The reference to the XML
SlickException - Indicates a failure to parse the XML or read the image| Method Detail |
|---|
public Image getSprite(java.lang.String name)
name - The name of the sprite to retrieve
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||