Genuts ME API

com.genuts.gameui
Class TraceSpriteWrapper

java.lang.Object
  extended bycom.genuts.gameui.Sprite
      extended bycom.genuts.gameui.SpriteWrapper
          extended bycom.genuts.gameui.TraceSpriteWrapper
All Implemented Interfaces:
Tickable

public class TraceSpriteWrapper
extends SpriteWrapper

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.SpriteWrapper
checkCollision, collisionWith, getActionSprite, getBackground, getBottomCollisionOffset, getFinalActionSprite, getHeight, getId, getImage, getLeftCollisionOffset, getParent, getRightCollisionOffset, getTopCollisionOffset, getWidth, getX, getY, invalidate, isBackgroundSprite, isPremode, isSpriteAt, isValidate, isVisible, paint, preCollisionWith, repaint, setActionSprite, setBackground, setBackgroundSprite, setBottomCollisionOffset, setBounds, setId, setImage, setLeftCollisionOffset, setPosition, setPremode, setRightCollisionOffset, setSize, setTopCollisionOffset, setVisible, validate
 
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

TraceSpriteWrapper

public TraceSpriteWrapper(Sprite sprite)
Method Detail

setParent

protected void setParent(PlayField parent)
Description copied from class: SpriteWrapper
Sets the parent playfield of the action sprite.

Overrides:
setParent in class SpriteWrapper
Parameters:
parent - Parent playfield of this sprite.

tick

public void tick(int ticks)
Description copied from class: SpriteWrapper
Propagations of the tick event to the action event if it is an instance of Tickable.

Specified by:
tick in interface Tickable
Overrides:
tick in class SpriteWrapper
Parameters:
ticks - Number of ticks from the playfield.

Genuts ME API

Genuts ME API