|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.huguesjohnson.tiamat.graphics.ImageData
public class ImageData
ImageData- used to store the position of an image
Constructor Summary | |
---|---|
ImageData(java.lang.String imagePath,
int x,
int y)
Creates a new instance of ImageData. |
Method Summary | |
---|---|
java.lang.String |
getImagePath()
Returns the full path to the image. |
int |
getX()
Returns the x position of the image. |
int |
getY()
Returns the y position of the image. |
void |
setImagePath(java.lang.String imagePath)
Sets the full path to the image. |
void |
setX(int x)
Sets the x position of the image. |
void |
setY(int y)
Sets the y position of the image. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ImageData(java.lang.String imagePath, int x, int y)
x
- The x position of the image.y
- The y position of the image.imagePath
- The full path to the image.Method Detail |
---|
public int getX()
public void setX(int x)
x
- The x position of the image.public int getY()
public void setY(int y)
y
- The y position of the image.public java.lang.String getImagePath()
public void setImagePath(java.lang.String imagePath)
imagePath
- The full path to the image.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |