| java.lang.Object demo.SpriteRandomMovement
SpriteRandomMovement | public class SpriteRandomMovement implements Runnable(Code) | | Animate a sprite on canvas using a simple algorithm
to recover from collisions.
author: Karel Herink |
Method Summary | |
public void | run() | public void | setSequences(int[] downSeq, int downTrans, int[] upSeq, int upTrans, int[] leftSeq, int leftTrans, int[] rightSeq, int rightTrans) | public void | stop() |
setSequences | public void setSequences(int[] downSeq, int downTrans, int[] upSeq, int upTrans, int[] leftSeq, int leftTrans, int[] rightSeq, int rightTrans)(Code) | | |
|
|