|
Genuts ME API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.genuts.gameui.Sprite
com.genuts.gameui.SpriteWrapper
com.genuts.gameui.TraceSpriteWrapper
Still in development.
Constructor Summary | |
TraceSpriteWrapper(Sprite sprite)
|
Method Summary | |
protected void |
setParent(PlayField parent)
Sets the parent playfield of the action sprite. |
void |
tick(int ticks)
Propagations of the tick event to the action event if it is an instance of Tickable . |
Methods inherited from class com.genuts.gameui.Sprite |
getFinalWrapper, getWrapper, setWrapper, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public TraceSpriteWrapper(Sprite sprite)
Method Detail |
protected void setParent(PlayField parent)
SpriteWrapper
setParent
in class SpriteWrapper
parent
- Parent playfield of this sprite.public void tick(int ticks)
SpriteWrapper
Tickable
.
tick
in interface Tickable
tick
in class SpriteWrapper
ticks
- Number of ticks from the playfield.
|
Genuts ME API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |