com.wistrand.midlet.valentine
Class StarSprite

java.lang.Object
  |
  +--com.wistrand.midlet.sprite.Sprite
        |
        +--com.wistrand.midlet.sprite.PolySprite
              |
              +--com.wistrand.midlet.valentine.StarSprite

public class StarSprite
extends PolySprite


Fields inherited from class com.wistrand.midlet.sprite.Sprite
col, dx, dy, id, idCount, parent, px, py, rot, size, x, y
 
Constructor Summary
StarSprite(SpriteHandler handler)
           
 
Method Summary
 int[] getPoints()
          Get the (x,y) points describing the sprite outline.
 void update()
          Update position by adding speed to current pos.
 
Methods inherited from class com.wistrand.midlet.sprite.PolySprite
paint
 
Methods inherited from class com.wistrand.midlet.sprite.Sprite
moveTo, setColor, setParent, setSpeed, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StarSprite

public StarSprite(SpriteHandler handler)
Method Detail

update

public void update()
Description copied from class: Sprite
Update position by adding speed to current pos.
Overrides:
update in class Sprite

getPoints

public int[] getPoints()
Description copied from class: PolySprite
Get the (x,y) points describing the sprite outline.
Overrides:
getPoints in class PolySprite