Class SpriteVector

java.lang.Object
   |
   +----java.util.Vector
           |
           +----SpriteVector

public class SpriteVector
extends Vector

Variable Index

 o background

Constructor Index

 o SpriteVector(Background)

Method Index

 o add(Sprite)
 o collision(int, int)
 o draw(Graphics)
 o getBackground()
 o getEmptyPosition(Dimension)
 o setBackground(Background)
 o testCollision(Sprite)
 o update()

Variables

 o background
 protected Background background

Constructors

 o SpriteVector
 public SpriteVector(Background back)

Methods

 o getBackground
 public Background getBackground()
 o setBackground
 public void setBackground(Background back)
 o getEmptyPosition
 public Point getEmptyPosition(Dimension sSize)
 o update
 public void update()
 o draw
 public void draw(Graphics g)
 o add
 public int add(Sprite s)
 o testCollision
 protected int testCollision(Sprite test)
 o collision
 protected boolean collision(int i,
                             int iHit)