Home | History | Annotate | Download | only in splash

Lines Matching refs:sprite

26  * This Sprite adds a drop shadow to another Sprite.
30 public class ShadowedSprite implements Sprite
36 private final Sprite sprite;
44 * @param xOffset the variable x-offset of the shadow, relative to the sprite itself.
45 * @param yOffset the variable y-offset of the shadow, relative to the sprite itself.
49 * @param sprite the Sprite to be painted with its shadow.
55 Sprite sprite)
61 this.sprite = sprite;
65 // Implementation for Sprite.
90 // Draw the sprite's shadow.
98 sprite.paint(graphics, time);
103 // Restore the actual sprite color.
106 // Draw the sprite itself in the ordinary graphics.
107 sprite.paint(graphics, time);