java.lang.Object
net.botwithus.rs3.game.Area
net.botwithus.rs3.game.Area.Circular
- All Implemented Interfaces:
Locatable
- Enclosing class:
Area
-
Nested Class Summary
Nested classes/interfaces inherited from class net.botwithus.rs3.game.Area
Area.Circular, Area.Polygonal, Area.Rectangular, Area.Singular
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
derive
(int xOffset, int yOffset, int planeOffset) @NotNull List<Coordinate>
double
@NotNull Coordinate
@NotNull Area.Circular
@NotNull Area.Polygonal
@NotNull Area.Rectangular
Methods inherited from class net.botwithus.rs3.game.Area
getArea, getCentroid, getCoordinatesInArea, getOverlap, getOverlap, getRandomWalkableCoordinate, getWalkableCoordinates, overlaps, overlaps, toSingular
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.botwithus.rs3.game.Locatable
distanceTo, isReachable
-
Constructor Details
-
Circular
-
-
Method Details
-
toRectangular
- Specified by:
toRectangular
in classArea
-
toPolygonal
- Specified by:
toPolygonal
in classArea
-
toCircular
- Specified by:
toCircular
in classArea
-
contains
-
derive
-
getCoordinates
- Specified by:
getCoordinates
in classArea
-
getRandomCoordinate
- Overrides:
getRandomCoordinate
in classArea
-
getRadius
public double getRadius() -
getCoordinate
- Returns:
- the center
Coordinate
of thisArea.Circular
Area
.
-