HOME | PROJECTS | REALITY | EMAIL

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)

Constructor Summary
ReOSSpriteSet()
          constructor
 
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 ReOSImageSetRenderer
add, addCycle, render
 
Methods inherited from class ReOSTrackable
equals, getReOSID, getReOSName, setReOSID, setReOSName, toString
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ReOSSpriteSet

public ReOSSpriteSet()
constructor
Method Detail

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 coordinate
y - the y coordinate
scale_x - x scaling
scale_y - y scaling
images - images
index - num in images
g - 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


HOME | PROJECTS | REALITY | EMAIL