|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--net.aerith.misao.util.SightScope
The SightScope represents a sight scope which consists
of the base position angle and the range of the scope.
| Field Summary | |
protected double |
base_angle
The base position angle. |
protected double |
range
The range of the scope. |
| Constructor Summary | |
SightScope()
Constructs an empty SightScope. |
|
SightScope(double base_angle,
double range)
Constructs a SightScope with specified sight scope. |
|
| Method Summary | |
boolean |
inRange(double angle)
Judges if the specified angle is within this sight scope. |
| Methods inherited from class java.lang.Object |
|
| Field Detail |
protected double base_angle
protected double range
| Constructor Detail |
public SightScope()
SightScope.
public SightScope(double base_angle,
double range)
SightScope with specified sight scope.base_angle - the base position angle.range - the range of angle.| Method Detail |
public boolean inRange(double angle)
angle - the angle.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||