ProGuard

proguard.gui.splash
Class ImageSprite

java.lang.Object
  extended byproguard.gui.splash.ImageSprite
All Implemented Interfaces:
Sprite

public class ImageSprite
extends Object
implements Sprite

This Sprite represents an animated image.


Constructor Summary
ImageSprite(Image image, proguard.gui.splash.VariableInt x, proguard.gui.splash.VariableInt y, proguard.gui.splash.VariableDouble scaleX, proguard.gui.splash.VariableDouble scaleY)
          Creates a new ImageSprite.
 
Method Summary
 void paint(Graphics graphics, long time)
          Paints the object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImageSprite

public ImageSprite(Image image,
                   proguard.gui.splash.VariableInt x,
                   proguard.gui.splash.VariableInt y,
                   proguard.gui.splash.VariableDouble scaleX,
                   proguard.gui.splash.VariableDouble scaleY)
Creates a new ImageSprite.

Parameters:
image - the Image to be painted.
x - the variable x-coordinate of the upper-left corner of the image.
y - the variable y-coordinate of the upper-left corner of the image.
scaleX - the variable x-scale of the image.
scaleY - the variable y-scale of the image.
Method Detail

paint

public void paint(Graphics graphics,
                  long time)
Description copied from interface: Sprite
Paints the object.

Specified by:
paint in interface Sprite
Parameters:
graphics - the Graphics to paint on.
time - the time since the start of the animation, expressed in milliseconds.

ProGuard