Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

dartboard::Wind Class Reference

Inheritance diagram for dartboard::Wind:

Inheritance graph
[legend]
Collaboration diagram for dartboard::Wind:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Wind ()
 Wind (double direction, double speed)
double getDirection ()
double getSpeed ()
void setDirection (double direction)
void setSpeed (double speed)
void setVelocity (double direction, double speed)
void setError (boolean err)
 Wind ()
 Wind (double direction, double speed)
double getDirection ()
double getSpeed ()
void setDirection (double direction)
void setSpeed (double speed)
void setVelocity (double direction, double speed)
void setError (boolean err)

Public Attributes

double[] WIND_LIMITS = {12, 18}
Color[] WIND_COLORS = {Color.green, Color.yellow, Color.red}
double[] WIND_LIMITS = {12, 18}
Color[] WIND_COLORS = {Color.green, Color.yellow, Color.red}

Protected Member Functions

void drawDart (Graphics g)
void drawDart (Graphics g)

Private Attributes

double speed
Arrow arrow

Static Private Attributes

int[] xdefault = {-3, 3, 3, 8, 0, -8, -3}
int[] ydefault = {-10, -10, 0, 0, 10, 0, 0}
int[] xdefault = {-3, 3, 3, 8, 0, -8, -3}
int[] ydefault = {-10, -10, 0, 0, 10, 0, 0}

Detailed Description

Insert the type's description here. Creation date: (11/7/00 8:45:12 PM)
Author:
:


Constructor & Destructor Documentation

dartboard::Wind::Wind  )  [inline]
 

Wind constructor comment.

Parameters:
x int
y int

dartboard::Wind::Wind double  direction,
double  speed
[inline]
 

Wind constructor comment.

Parameters:
x int
y int

dartboard::Wind::Wind  )  [inline]
 

Wind constructor comment.

Parameters:
x int
y int

dartboard::Wind::Wind double  direction,
double  speed
[inline]
 

Wind constructor comment.

Parameters:
x int
y int


Member Function Documentation

void dartboard::Wind::drawDart Graphics  g  )  [inline, protected]
 

Reimplemented from dartboard::Dart.

void dartboard::Wind::drawDart Graphics  g  )  [inline, protected]
 

Reimplemented from dartboard::Dart.

double dartboard::Wind::getDirection  )  [inline]
 

double dartboard::Wind::getDirection  )  [inline]
 

double dartboard::Wind::getSpeed  )  [inline]
 

double dartboard::Wind::getSpeed  )  [inline]
 

void dartboard::Wind::setDirection double  direction  )  [inline]
 

void dartboard::Wind::setDirection double  direction  )  [inline]
 

void dartboard::Wind::setError boolean  err  )  [inline, virtual]
 

Called in case of error.

Each derived class will take the opportune action

Parameters:
error 

Implements dartboard::Dart.

void dartboard::Wind::setError boolean  err  )  [inline, virtual]
 

Called in case of error.

Each derived class will take the opportune action

Parameters:
error 

Implements dartboard::Dart.

void dartboard::Wind::setSpeed double  speed  )  [inline]
 

void dartboard::Wind::setSpeed double  speed  )  [inline]
 

void dartboard::Wind::setVelocity double  direction,
double  speed
[inline]
 

void dartboard::Wind::setVelocity double  direction,
double  speed
[inline]
 


Member Data Documentation

Arrow dartboard::Wind::arrow [private]
 

double dartboard::Wind::speed [private]
 

Color [] dartboard::Wind::WIND_COLORS = {Color.green, Color.yellow, Color.red}
 

Color [] dartboard::Wind::WIND_COLORS = {Color.green, Color.yellow, Color.red}
 

double [] dartboard::Wind::WIND_LIMITS = {12, 18}
 

double [] dartboard::Wind::WIND_LIMITS = {12, 18}
 

int [] dartboard::Wind::xdefault = {-3, 3, 3, 8, 0, -8, -3} [static, private]
 

int [] dartboard::Wind::xdefault = {-3, 3, 3, 8, 0, -8, -3} [static, private]
 

int [] dartboard::Wind::ydefault = {-10, -10, 0, 0, 10, 0, 0} [static, private]
 

int [] dartboard::Wind::ydefault = {-10, -10, 0, 0, 10, 0, 0} [static, private]
 


The documentation for this class was generated from the following files:
Generated on Thu Apr 30 03:13:24 2009 for ACS Java API by doxygen 1.3.8