Class Entity
- java.lang.Object
-
- net.eternalclient.api.wrappers.interactives.Entity
-
- All Implemented Interfaces:
Identifiable,Interactable,Positionable
- Direct Known Subclasses:
Character,GameObject,GroundItem
public abstract class Entity extends java.lang.Object implements Interactable, Identifiable, Positionable
A class representing an entity in the game, providing methods to access its model, orientation and identifier.
-
-
Constructor Summary
Constructors Constructor Description Entity()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract RSModelgetModel()abstract OrientationgetOrientation()abstract intgetOrientationId()abstract RSWorldViewgetWorldView()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.eternalclient.api.interfaces.Identifiable
containsName, getColoredName, getID, getName, getType, hasID, hasName
-
Methods inherited from interface net.eternalclient.api.interfaces.Interactable
containsAction, getActions, getClickBox, getConvexHull, getConvexHullOnScreen, getInteractID, getInteractPoint, getInteractX, getInteractY, getPolygons, getPolygonsOnScreen, hasAction, hasAction, interact, interact, interact, isOnScreen
-
Methods inherited from interface net.eternalclient.api.interfaces.Positionable
canReach, canReach, canReachSurrounding, canReachSurrounding, derive, derive, derive, distance, distance, distanceTo, distanceTo2D, distanceTo2DHypotenuse, distanceToHypotenuse, distanceToPath, draw, drawMinimapDot, drawText, getCanvasTextLocation, getCanvasTilePoly, GetChunkRotation, getHeight, getLocalTile, getLocalX, getLocalY, getMinimapPoint, getMovementFlags, getPlane, getRectArea, getRegionId, getRegionTile, getRegionX, getRegionY, getSceneTile, getSceneX, getSceneY, getSurroundingArea, getWalkableTile, getWidth, getWorldTile, getWorldX, getWorldY, hasLineOfSightTo, hasLineOfSightTo, inLineOfSight, isInArea, isInArea, isInArea2D, isInArea2D, isInMeleeDistance, isInScene, isUnderRoof, locatedAt, pathTo, walkingDistance
-
-
-
-
Method Detail
-
getWorldView
public abstract RSWorldView getWorldView()
- Specified by:
getWorldViewin interfacePositionable
-
getModel
public abstract RSModel getModel()
-
getOrientation
public abstract Orientation getOrientation()
-
getOrientationId
public abstract int getOrientationId()
-
-