Package org.dreambot.api.utilities
Class Vector
- java.lang.Object
-
- org.dreambot.api.utilities.Vector
-
public class Vector extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Vector(double magnitude, double direction, int reportRate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
getAngleRadian()
double
getDirection()
double
getMagnitude()
double
getXMovement()
double
getYMovement()
void
setDirection(double direction)
void
setMagnitude(double magnitude)
-
-
-
Method Detail
-
getMagnitude
public double getMagnitude()
-
setMagnitude
public void setMagnitude(double magnitude)
-
getDirection
public double getDirection()
-
setDirection
public void setDirection(double direction)
-
getAngleRadian
public double getAngleRadian()
-
getXMovement
public double getXMovement()
-
getYMovement
public double getYMovement()
-
-