public class Wind extends Dart
| Modifier and Type | Field and Description |
|---|---|
java.awt.Color[] |
WIND_COLORS |
double[] |
WIND_LIMITS |
| Constructor and Description |
|---|
Wind()
Wind constructor comment.
|
Wind(double direction,
double speed)
Wind constructor comment.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
drawDart(java.awt.Graphics g) |
double |
getDirection() |
double |
getSpeed() |
void |
setDirection(double direction) |
void |
setError(boolean err)
Called in case of error.
|
void |
setSpeed(double speed) |
void |
setVelocity(double direction,
double speed) |
calculateX, calculateY, draw, setAzimuth, setDartboard, setDartboardSize, setElevation, setPositionpublic double[] WIND_LIMITS
public java.awt.Color[] WIND_COLORS
public Wind()
x - inty - intpublic Wind(double direction,
double speed)
x - inty - int