com.esotericsoftware.kryonet
Class Ball
java.lang.Object
com.esotericsoftware.kryonet.Ball
- All Implemented Interfaces:
- IBall
public class Ball
- extends java.lang.Object
- implements IBall
Constructor Summary |
Ball()
|
Ball(java.awt.Point lc,
int r)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Ball
public Ball()
Ball
public Ball(java.awt.Point lc,
int r)
setColor
public void setColor(java.awt.Color newColor)
- Specified by:
setColor
in interface IBall
getColor
public java.awt.Color getColor()
- Specified by:
getColor
in interface IBall
setMotion
public void setMotion(double dx,
double dy)
- Specified by:
setMotion
in interface IBall
radius
public int radius()
- Specified by:
radius
in interface IBall
location
public java.awt.Point location()
- Specified by:
location
in interface IBall
changeX
public double changeX()
- Specified by:
changeX
in interface IBall
changeY
public double changeY()
- Specified by:
changeY
in interface IBall
move
public void move()
- Specified by:
move
in interface IBall