Public Member Functions | |
Moon () | |
Moon (short phase) | |
short | getPhase (short phase) |
void | setPhase (short phase) |
void | setError (boolean err) |
Static Public Attributes | |
static short | NO_MOON = -1 |
static short | EMPTY_MOON = 0 |
static short | FIRST_QUARTER = 1 |
static short | HALF_MOON = 2 |
static short | THIRD_QUARTER = 3 |
static short | FULL_MOON = 4 |
Protected Member Functions | |
void | drawDart (Graphics g) |
Insert the type's description here. Creation date: (11/7/00 9:03:30 PM)
dartboard.Moon.Moon | ( | ) |
Moon constructor comment.
x | int | |
y | int |
dartboard.Moon.Moon | ( | short | phase | ) |
Moon constructor comment.
x | int | |
y | int |
void dartboard.Moon.drawDart | ( | Graphics | g | ) | [protected] |
Reimplemented from dartboard.Dart.
References dartboard.Dart.dartboard, dartboard.Moon.EMPTY_MOON, dartboard.Moon.FIRST_QUARTER, dartboard.Moon.FULL_MOON, dartboard.Moon.HALF_MOON, dartboard.Moon.NO_MOON, and dartboard.Moon.THIRD_QUARTER.
short dartboard.Moon.getPhase | ( | short | phase | ) |
void dartboard.Moon.setError | ( | boolean | error | ) | [virtual] |
Called in case of error.
Each derived class will take the opportune action
error |
Implements dartboard.Dart.
void dartboard.Moon.setPhase | ( | short | phase | ) |
short dartboard.Moon.EMPTY_MOON = 0 [static] |
Referenced by dartboard.Moon.drawDart().
short dartboard.Moon.FIRST_QUARTER = 1 [static] |
Referenced by dartboard.Moon.drawDart().
short dartboard.Moon.FULL_MOON = 4 [static] |
Referenced by dartboard.Moon.drawDart().
short dartboard.Moon.HALF_MOON = 2 [static] |
Referenced by dartboard.Moon.drawDart().
short dartboard.Moon.NO_MOON = -1 [static] |
Referenced by dartboard.Moon.drawDart().
short dartboard.Moon.THIRD_QUARTER = 3 [static] |
Referenced by dartboard.Moon.drawDart().