All Packages Class Hierarchy This Package Previous Next Index
Class com.loki3.cyber.pawn.ToolCompass
java.lang.Object
|
+----com.loki3.cyber.pawn.Tool
|
+----com.loki3.cyber.pawn.ToolCompass
- public class ToolCompass
- extends Tool
Compass - tells you which direction your
pawn is facing relative to absolute coordinates.
ToolCompass()
-
getDirection()
- Get direction relative to absolute coordinates in radians.
ToolCompass
public ToolCompass()
getDirection
public double getDirection()
Get direction relative to absolute coordinates in radians.
West is 0, going counterclockwise.
All Packages Class Hierarchy This Package Previous Next Index