|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A drawable object is any object that can be drawn to the screen. This means that it has an image associated with it, that is used when representing the object on the hex board. All objects to be drawn on the board should implement this interface; also, ImageTools can be used to load images from disk. One can also use DrawableAdapter as a quick way to instantiate a drawable object.
Method Summary | |
java.awt.Image |
getImage()
Returns the image represented by this drawable object. |
void |
setImage(java.awt.Image new_image)
Sets the image of this object to the specified image. |
Method Detail |
public java.awt.Image getImage()
public void setImage(java.awt.Image new_image)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |