ProGuard

proguard.gui.splash
Class CompositeSprite

java.lang.Object
  extended byproguard.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.


Constructor Summary
CompositeSprite(Sprite[] sprites)
          Creates a new CompositeSprite.
 
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

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.
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