Genuts ME API

com.genuts.gameui
Class SpotSprite

java.lang.Object
  extended bycom.genuts.gameui.Sprite
      extended bycom.genuts.gameui.SpotSprite

public class SpotSprite
extends Sprite

This sprite is a pink disk, it is only used in TraceSpriteWrapper

See Also:
TraceSpriteWrapper

Constructor Summary
SpotSprite(int w, int h)
          Initializes the sprite.
 
Method Summary
 void paint(Graphics g)
          Paints the disk of the sprite.
 
Methods inherited from class com.genuts.gameui.Sprite
checkCollision, collisionWith, getActionSprite, getBackground, getBottomCollisionOffset, getFinalActionSprite, getFinalWrapper, getHeight, getId, getImage, getLeftCollisionOffset, getParent, getRightCollisionOffset, getTopCollisionOffset, getWidth, getWrapper, getX, getY, invalidate, isBackgroundSprite, isPremode, isSpriteAt, isValidate, isVisible, preCollisionWith, repaint, setBackground, setBackgroundSprite, setBottomCollisionOffset, setBounds, setId, setImage, setLeftCollisionOffset, setParent, setPosition, setPremode, setRightCollisionOffset, setSize, setTopCollisionOffset, setVisible, setWrapper, toString, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SpotSprite

public SpotSprite(int w,
                  int h)
Initializes the sprite.

Parameters:
w - Width of the sprite
h - Height of the sprite
Method Detail

paint

public void paint(Graphics g)
Paints the disk of the sprite.

Overrides:
paint in class Sprite
Parameters:
g - The graphics context to use for painting.

Genuts ME API

Genuts ME API