Class ABall


public abstract class ABall
extends Object
An abstract Ball class that contains a location and a velocity.


Variable Index

 o location
 o velocity

Method Index

 o getColor ()
 o getLocation ()
 o getRadius ()
 o getVelocity ()
 o setColor (Color)
 o setLocation (Point)
 o setRadius (int)
 o setVelocity (Point)

Variables

 o location
protected Point location
 o velocity
protected Point velocity

Methods

 o setVelocity
public void setVelocity(Point v)
 o getLocation
public Point getLocation()
 o getVelocity
public Point getVelocity()
 o setLocation
public void setLocation(Point l)
 o getRadius
public abstract int getRadius()
 o setRadius
public abstract void setRadius(int r)
 o getColor
public abstract Color getColor()
 o setColor
public abstract void setColor(Color c)