|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--org.game.JVirus.AnimImage
simply a array if images.
| Field Summary | |
protected java.awt.Image[] |
array
image array |
protected int |
number
current image number |
| Constructor Summary | |
AnimImage(java.awt.Image[] img_arr)
simply constructor |
|
| Method Summary | |
java.awt.Image |
nextImage()
get the current image. |
void |
reset()
reset image counter to 0 |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected java.awt.Image[] array
protected int number
| Constructor Detail |
public AnimImage(java.awt.Image[] img_arr)
img_arr - list with images| Method Detail |
public void reset()
public java.awt.Image nextImage()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||