class Playfield extends Raster { Raster background; // background image Vector sprites; // sprites on this playfield public Playfield(Image bgnd); public void addSprite(AnimatedSprite s); public void removeSprite(AnimatedSprite s); public void Draw( ); // Other methods... } ![]() |
||||||
![]() |
Lecture 2 | Slide 14 | 6.837 Fall '01 | ![]() |