|
ProGuard | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectproguard.gui.splash.TimeSwitchSprite
This Sprite displays another Sprite in a given time interval. The time of the encapsulated Sprite is shifted by the start time.
| Constructor Summary | |
TimeSwitchSprite(long onTime,
long offtime,
Sprite sprite)
Creates a new TimeSwitchSprite for displaying a given Sprite in a given time interval. |
|
TimeSwitchSprite(long onTime,
Sprite sprite)
Creates a new TimeSwitchSprite for displaying a given Sprite starting at a given time. |
|
| 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 |
public TimeSwitchSprite(long onTime,
Sprite sprite)
onTime - the start time.sprite - the toggled Sprite.
public TimeSwitchSprite(long onTime,
long offtime,
Sprite sprite)
onTime - the start time.sprite - the toggled Sprite.| Method Detail |
public void paint(Graphics graphics,
long time)
Sprite
paint in interface Spritegraphics - the Graphics to paint on.time - the time since the start of the animation, expressed in
milliseconds.
|
ProGuard | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||