Methods' Details |
startAnimation
void
startAnimation( |
[in] double |
speed ); |
- Description
- Start animation sequence of this sprite. The speed of the
animation is given in frames per second.
|
|
stopAnimation
- Description
- Stop the animation sequence. A subsequent startAnimation will
commence the sequence at the point where it was stopped with
stopAnimation.
|
|
resetAnimation
- Description
- Reset the animation sequence to start with the first frame. If
the animation is currently running, the next frame that is
drawn after this method has finished, will be the first one.
|
|
setTransparency
void
setTransparency( |
[in] double |
alpha ); |
- Description
- Set overall transparency of the sprite. Useful for e.g. fading
in/out of animations.
|
|
Copyright © 2003 Sun Microsystems, Inc.