class AnimatedSprite extends Sprite { int frames; // frames in sprite // there are other private variables public AnimatedSprite(Image images, int frames); public void addState(int track, int frame, int ticks, int dx, int dy); public void Draw(Raster bgnd); public void nextState(); public void setTrack(); } ![]() |
||||||
![]() |
Lecture 2 | Slide 17 | 6.837 Fall '00 | ![]() |