public class Moon extends Planet
| Modifier and Type | Field and Description |
|---|---|
static short |
EMPTY_MOON |
static short |
FIRST_QUARTER |
static short |
FULL_MOON |
static short |
HALF_MOON |
static short |
NO_MOON |
static short |
THIRD_QUARTER |
| Constructor and Description |
|---|
Moon()
Moon constructor comment.
|
Moon(short phase)
Moon constructor comment.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
drawDart(java.awt.Graphics g) |
short |
getPhase(short phase) |
void |
setError(boolean err)
Called in case of error.
|
void |
setPhase(short phase) |
getDeclination, getRightAscension, setDeclination, setRightAscensioncalculateX, calculateY, draw, setAzimuth, setDartboard, setDartboardSize, setElevation, setPositionpublic static short NO_MOON
public static short EMPTY_MOON
public static short FIRST_QUARTER
public static short HALF_MOON
public static short THIRD_QUARTER
public static short FULL_MOON
public Moon()
x - inty - intpublic Moon(short phase)
x - inty - int