Package org.rspeer.game.adapter.scene
Class PathingEntity<P extends 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 RSPathingEntity>
extends Entity<P>
implements Nameable, Identifiable, Animable, Mobile
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.rspeer.game.adapter.type.Actionable
Actionable.Query<Q extends Actionable.Query<Q>>
Nested classes/interfaces inherited from interface org.rspeer.game.adapter.type.Animable
Animable.Query<Q extends Animable.Query<Q>>
Nested classes/interfaces inherited from interface org.rspeer.game.adapter.type.Identifiable
Identifiable.Query<Q extends Identifiable.Query<Q>>
Nested classes/interfaces inherited from interface org.rspeer.game.adapter.type.Mobile
Mobile.Query<Q extends Mobile.Query<Q>>
Nested classes/interfaces inherited from interface org.rspeer.game.adapter.type.Nameable
Nameable.Query<Q extends Nameable.Query<Q>>
Nested classes/interfaces inherited from interface org.rspeer.game.adapter.type.SceneNode
SceneNode.Query<Q extends SceneNode.Query<Q>>
-
Method Summary
Methods inherited from class org.rspeer.game.adapter.Adapter
getProvider, validate
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.rspeer.game.adapter.type.Actionable
containsAction, containsAction, getActions, getRawActions
Methods inherited from interface org.rspeer.game.adapter.type.Animable
getAnimationId, isAnimating
Methods inherited from interface org.rspeer.game.adapter.type.Identifiable
getId
Methods inherited from interface org.rspeer.game.adapter.type.Interactable
actionOf, actionOf, interact, interact, interact, interact, interact
Methods inherited from interface org.rspeer.game.adapter.type.SceneNode
distance, distance, distance, distance, getArea, getEntityPositionHeight, getEntityPositionWidth, getFloorLevel, getX, getY, isInFieldOfViewOf, isInFieldOfViewOf
-
Method Details
-
getAnimation
- Specified by:
getAnimation
in interfaceAnimable
-
getStance
-
getMatrixId
public int getMatrixId() -
getEffect
Deprecated. -
getEffects
-
getOrientation
public int getOrientation() -
getPreciseOrientation
public int getPreciseOrientation() -
getPosition
- Specified by:
getPosition
in interfaceSceneNode
- Specified by:
getPosition
in classEntity<P extends RSPathingEntity>
-
getServerPosition
Deprecated. -
getDirection
-
getPreciseDirection
-
isMoving
public boolean isMoving() -
getTargetIndex
public int getTargetIndex() -
getOverheadText
-
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
-
isDying
public boolean isDying() -
getTarget
-
equals
-
getIndex
public int getIndex() -
isHealthBarVisible
public boolean isHealthBarVisible()
-