Class Area.Absolute
- java.lang.Object
-
- com.runemate.game.api.hybrid.location.Area
-
- com.runemate.game.api.hybrid.location.Area.Absolute
-
- All Implemented Interfaces:
Interactable
,Locatable
,Renderable
,java.io.Serializable
- Enclosing class:
- Area
public static class Area.Absolute extends Area
An area that has every contained coordinate specified in the constructor- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.runemate.game.api.hybrid.location.Area
Area.Absolute, Area.Circular, Area.Polygonal, Area.Rectangular
-
-
Constructor Summary
Constructors Constructor Description Absolute(Coordinate... coordinates)
Absolute(java.util.Collection<Coordinate> coordinates)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Area.Absolute
derive(int x, int y, int plane)
boolean
equals(java.lang.Object obj)
java.util.List<Coordinate>
getCoordinates()
Gets a list of all coordinates within the areaint
hashCode()
Area.Rectangular
toRectangular()
Converts an Area into a Area.Rectangular that contains the entire Areajava.lang.String
toString()
-
Methods inherited from class com.runemate.game.api.hybrid.location.Area
absolute, circular, click, contains, contains, contains, containsAllOf, containsAllOf, containsAnyOf, containsAnyOf, derive, getArea, getCenter, getHighPrecisionPosition, getInteractionPoint, getOverlappingCoordinates, getOverlappingCoordinates, getPosition, getRandomCoordinate, getVisibility, hasDynamicBounds, hover, interact, interact, interact, interact, isLoaded, isReachable, isVisible, overlaps, overlaps, polygonal, rectangular, render, render, singular
-
Methods inherited from interface com.runemate.game.api.hybrid.entities.details.Interactable
getInteractionPoint, interact, interact, isHovered
-
Methods inherited from interface com.runemate.game.api.hybrid.entities.details.Locatable
distanceTo, distanceTo, getLocalPosition
-
-
-
-
Constructor Detail
-
Absolute
public Absolute(java.util.Collection<Coordinate> coordinates)
-
Absolute
public Absolute(Coordinate... coordinates)
-
-
Method Detail
-
derive
public Area.Absolute derive(int x, int y, int plane)
-
getCoordinates
public java.util.List<Coordinate> getCoordinates()
Description copied from class:Area
Gets a list of all coordinates within the area- Specified by:
getCoordinates
in classArea
-
toRectangular
public Area.Rectangular toRectangular()
Description copied from class:Area
Converts an Area into a Area.Rectangular that contains the entire Area- Specified by:
toRectangular
in classArea
-
-