proguard.gui.splash
Class CompositeSprite
java.lang.Object
proguard.gui.splash.CompositeSprite
- All Implemented Interfaces:
- Sprite
- public class CompositeSprite
- extends Object
- implements Sprite
This Sprite is the composition of a list of Sprite objects.
|
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 |
CompositeSprite
public CompositeSprite(Sprite[] sprites)
- Creates a new CompositeSprite.
- Parameters:
sprites - the array of Sprite objects to which the painting will
be delegated, starting with the first element.
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.