|
Genuts API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.genuts.gameui.Sprite | +--com.genuts.gameui.ImageSequenceSprite | +--com.genuts.gameui.LCDSimplePictureSprite
This object is the representation of a part of an LCDSprite when the continuity is enabled.
LCDSprite.setContinuity(boolean)
Constructor Summary | |
LCDSimplePictureSprite(java.awt.Image seq,
int nbh,
int nbv,
int n,
int x,
int y)
Initializes the sprite, with an sequence image. |
Methods inherited from class com.genuts.gameui.ImageSequenceSprite |
getCurrentPictureNumber, getHorizontalPicture, getHorizontalPicturesCount, getPicturesCount, getSequence, getVerticalPicture, getVerticalPicturesCount, isSequenceEnded, isSequenceLoop, nextPicture, paint, previousPicture, sequenceEnded, setCurrentPictureNumber, setHorizontalPicture, setSequence, setSequenceEnded, setSequenceLoop, setVerticalPicture |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public LCDSimplePictureSprite(java.awt.Image seq, int nbh, int nbv, int n, int x, int y)
seq
- An image containing all pictures of the sequence.nbh
- Horizontaly number of pictures in the image.nbv
- Verticaly number of pictures in the image.n
- The current picture position in the sequence.x
- X position for this picture.y
- Y position for this picture.
|
Genuts API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |