proguard.gui.splash
Class ColorSprite
java.lang.Object
proguard.gui.splash.ColorSprite
- All Implemented Interfaces:
- Sprite
public class ColorSprite
- extends Object
- implements Sprite
This Sprite colors another given sprite.
- Author:
- Eric Lafortune
|
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 |
ColorSprite
public ColorSprite(proguard.gui.splash.VariableColor color,
Sprite sprite)
- Creates a new ColorSprite.
- Parameters:
color - the variable color of the given sprite.sprite - the sprite that will be colored and painted.
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.
Copyright © 2012. All Rights Reserved.