Class Polkadot
java.lang.Object
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)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Polkadot
public Polkadot()
Polkadot
public Polkadot(double x,
double y,
double d,
java.awt.Color c)
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)