|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IRadarFunctions
Method Summary | |
---|---|
double |
getRadarHeadingDegrees()
Retrieve the angle the radar is heading in degrees. |
double |
getRadarHeadingRadians()
Retrieve the angle the radar is heading in radians. |
double |
getRadarTurnRemainingDegrees()
Returns the amount the Radar still has to turn in degrees. |
double |
getRadarTurnRemainingRadians()
Returns the amount the Radar still has to turn in radians. |
double |
getXRadar()
Returns the current X-coordinate of the Radar |
double |
getYRadar()
Returns the current Y-coordinate of the Radar |
void |
setRadarColor(Color color)
Sets the color of the radar. |
void |
setScanColor(Color color)
Sets the Color of your scan |
void |
setTurnRadarLeftDegrees(double angle)
Set the angle the Radar needs to turn towards the left in degrees. |
void |
setTurnRadarLeftRadians(double angle)
Set the angle the Radar needs to turn towards the Left in radians. |
void |
setTurnRadarRightDegrees(double angle)
Set the angle the Radar needs to turn towards the right in degrees. |
void |
setTurnRadarRightRadians(double angle)
Set the angle the Radar needs to turn towards the Left in radians. |
Method Detail |
---|
void setTurnRadarLeftDegrees(double angle)
angle
- The angle you want to turn the radar towards the left in degrees.void setTurnRadarRightDegrees(double angle)
angle
- The angle you want to turn the radar towards the right in degrees.void setTurnRadarLeftRadians(double angle)
angle
- The angle you want to turn the radar towards the left in radians.void setTurnRadarRightRadians(double angle)
angle
- The angle you want to turn the radar towards the right in radians.double getRadarHeadingRadians()
double getRadarHeadingDegrees()
double getRadarTurnRemainingRadians()
double getRadarTurnRemainingDegrees()
void setRadarColor(Color color)
color
- The color you want your radar to be.double getXRadar()
double getYRadar()
void setScanColor(Color color)
color
- The color you want your scan to be.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |