A Playfield is a Raster and has Animated Sprites
class Playfield extends Raster {
Raster background; // background image
AnimatedSprite sprite[]; // list of sprites on this playfield
public Playfield(Image bgnd, int numSprites);
public void addSprite(int i, AnimatedSprite s);
public void Draw( );
}
|