Class ReOSSpriteSet
java.lang.Object
|
+--ReOSTrackable
|
+--ReOSRenderer
|
+--ReOSImageSetRenderer
|
+--ReOSSpriteSet
- public class ReOSSpriteSet
- extends ReOSImageSetRenderer
Name: class ReOSSpriteSet
Desc: sprite set
- Version:
- 1.000 - 1997, 1998, 2000
1997 Gary - created and implemented
- Author:
- Ge (Gary) Wang (www.gewang.com), George Stetten (stetten@duke.edu), Visnu Pitiyanuvath (vtp1@duke.edu)
|
Method Summary |
void |
add(java.awt.Image[] imgArray,
int numElts)
adds an array of Images |
void |
draw(int x,
int y,
double scale_x,
double scale_y,
java.util.Vector images,
int index,
java.awt.Graphics g)
draws the images mapped to by angle |
| Methods inherited from class java.lang.Object |
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
ReOSSpriteSet
public ReOSSpriteSet()
- constructor
draw
public void draw(int x,
int y,
double scale_x,
double scale_y,
java.util.Vector images,
int index,
java.awt.Graphics g)
- draws the images mapped to by angle
- Parameters:
x - the x coordinatey - the y coordinatescale_x - x scalingscale_y - y scalingimages - imagesindex - num in imagesg - the Graphics context- Overrides:
- draw in class ReOSImageSetRenderer
add
public void add(java.awt.Image[] imgArray,
int numElts)
- adds an array of Images
- Parameters:
imgArray - a 'Image[]'numElts - the number of images in array