Class PathingEntity<P extends jag.oldscape.RSPathingEntity>
java.lang.Object
org.rspeer.game.adapter.Adapter<P>
org.rspeer.game.adapter.scene.Entity<P>
org.rspeer.game.adapter.scene.PathingEntity<P>
- All Implemented Interfaces:
Actionable, Animable, Identifiable, Interactable, Mobile, Nameable, SceneNode
public abstract class PathingEntity<P extends jag.oldscape.RSPathingEntity>
extends Entity<P>
implements Nameable, Identifiable, Animable, Mobile
-
Nested Class Summary
Nested classes/interfaces inherited from interface Actionable
Actionable.Query<Q>Nested classes/interfaces inherited from interface Animable
Animable.Query<Q>Nested classes/interfaces inherited from interface Identifiable
Identifiable.Query<Q>Nested classes/interfaces inherited from interface Mobile
Mobile.Query<Q>Nested classes/interfaces inherited from interface Nameable
Nameable.Query<Q>Nested classes/interfaces inherited from interface SceneNode
SceneNode.Query<Q> -
Method Summary
Modifier and TypeMethodDescriptionbooleanintintgetCoord()Deprecated.jag.oldscape.RSHeadbarQueuegetHeadbar(int id) intgetHeadbarPercent(int headbarId) intgetHeadbarPercent(jag.oldscape.RSHeadbarQueue headbar) List<jag.oldscape.RSHeadbarQueue> jag.oldscape.RSHeadbarQueueintNote: This method will only return correctly when the health bar is present.List<jag.oldscape.RSHitmark> intgetIndex()intDeprecated.intabstract List<OverheadPrayer> Deprecated.intintinthashCode()booleanisDying()booleanisEffectActive(int... effectIds) booleanbooleanisMoving()Methods inherited from class Entity
getEntityIndex, getHeight, getTypecode, getTypecodeMethods inherited from class Adapter
getProvider, validateMethods inherited from interface Actionable
containsAction, containsAction, getActions, getRawActions, getSubMenuActionsMethods inherited from interface Animable
isAnimating, isAnimationActive, isIdleMethods inherited from interface Identifiable
getIdMethods inherited from interface SceneNode
distance, distance, distance, distance, getArea, getCoordArea, getCoordArea, getCoordView, getEntityPositionHeight, getEntityPositionWidth, getFloorLevel, getSceneContext, getWorldEntity, getWorldEntity, getX, getY, isInFieldOfViewOf, isInFieldOfViewOf
-
Method Details
-
getOverheadPrayers
-
getAnimation
- Specified by:
getAnimationin interfaceAnimable
-
getHitmarks
-
getStance
-
getStanceId
public int getStanceId() -
getAnimationId
public int getAnimationId()- Specified by:
getAnimationIdin interfaceAnimable
-
getAnimationFrame
public int getAnimationFrame() -
getMatrixId
public int getMatrixId()- Specified by:
getMatrixIdin interfaceSceneNode
-
getEffect
Deprecated. -
isEffectActive
public boolean isEffectActive(int... effectIds) -
getEffects
-
getOrientation
public int getOrientation() -
getCoord
-
getCoordFine
- Specified by:
getCoordFinein interfaceSceneNode
-
getPosition
- Specified by:
getPositionin interfaceSceneNode
-
getModelPosition
Deprecated.- Overrides:
getModelPositionin classEntity<P extends jag.oldscape.RSPathingEntity>
-
getServerPosition
Deprecated. -
getDirection
-
isMoving
-
getTargetIndex
public int getTargetIndex() -
getOverheadText
-
getHeadbars
-
getHeadbar
public jag.oldscape.RSHeadbarQueue getHeadbar(int id) -
getHealthBar
public jag.oldscape.RSHeadbarQueue getHealthBar() -
getHealthPercent
public int getHealthPercent()Note: This method will only return correctly when the health bar is present. For local player health it is recommended that you use the Health class instead- Returns:
- The current health percent
-
getHeadbarPercent
public int getHeadbarPercent(int headbarId) -
getHeadbarPercent
public int getHeadbarPercent(jag.oldscape.RSHeadbarQueue headbar) -
isDying
public boolean isDying() -
getTarget
-
equals
-
hashCode
-
getIndex
public int getIndex() -
isHealthBarVisible
public boolean isHealthBarVisible()
-