Class Ball

java.lang.Object
  extended by Polkadot
      extended by Ball

public class Ball
extends Polkadot


Constructor Summary
Ball()
           
Ball(double x, double y, double dia, java.awt.Color c)
           
 
Method Summary
 double getdx()
           
 double getdy()
           
 void move(double rightEdge, double bottomEdge)
           
 void setdx(double x)
           
 void setdy(double y)
           
 
Methods inherited from class Polkadot
draw, getColor, getDiameter, getRadius, getX, getY, jump, setColor, setDiameter, setRadius, setX, setY
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Ball

public Ball()

Ball

public Ball(double x,
            double y,
            double dia,
            java.awt.Color c)
Method Detail

setdx

public void setdx(double x)

setdy

public void setdy(double y)

getdx

public double getdx()

getdy

public double getdy()

move

public void move(double rightEdge,
                 double bottomEdge)