Class Polkadot

java.lang.Object
  extended by Polkadot
Direct Known Subclasses:
Ball

public class Polkadot
extends java.lang.Object


Constructor Summary
Polkadot()
           
Polkadot(double x, double y, double d, java.awt.Color c)
           
 
Method Summary
 void draw(java.awt.Graphics myBuffer)
           
 java.awt.Color getColor()
           
 double getDiameter()
           
 double getRadius()
           
 double getX()
           
 double getY()
           
 void jump(int rightEdge, int bottomEdge)
           
 void setColor(java.awt.Color c)
           
 void setDiameter(double d)
           
 void setRadius(double r)
           
 void setX(double x)
           
 void setY(double y)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Polkadot

public Polkadot()

Polkadot

public Polkadot(double x,
                double y,
                double d,
                java.awt.Color c)
Method Detail

getX

public double getX()

getY

public double getY()

getDiameter

public double getDiameter()

getColor

public java.awt.Color getColor()

getRadius

public double getRadius()

setX

public void setX(double x)

setY

public void setY(double y)

setColor

public void setColor(java.awt.Color c)

setDiameter

public void setDiameter(double d)

setRadius

public void setRadius(double r)

jump

public void jump(int rightEdge,
                 int bottomEdge)

draw

public void draw(java.awt.Graphics myBuffer)