Class Npc
java.lang.Object
org.rspeer.game.adapter.Adapter<jag.oldscape.RSNpc>
org.rspeer.game.adapter.scene.Entity<jag.oldscape.RSNpc>
org.rspeer.game.adapter.scene.PathingEntity<jag.oldscape.RSNpc>
org.rspeer.game.adapter.scene.Npc
- All Implemented Interfaces:
Actionable, Animable, Defined<NpcDefinition>, Identifiable, Interactable, Mobile, Nameable, SceneNode
-
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> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintintintintgetId()getName()getOverheads(boolean sprites) intgetParameter(int parameter) intgetParameter(NpcParameter parameter) String[]booleanisActionEnabled(int index) booleanisActionEnabled(String action) Methods inherited from class PathingEntity
equals, getAnimation, getAnimationFrame, getAnimationId, getCoord, getCoordFine, getDirection, getEffect, getEffects, getHeadbar, getHeadbarPercent, getHeadbarPercent, getHeadbars, getHealthBar, getHealthPercent, getHitmarks, getIndex, getMatrixId, getModelPosition, getOrientation, getPosition, getServerPosition, getStance, getStanceId, getTarget, getTargetIndex, hashCode, isDying, isEffectActive, isHealthBarVisible, isMovingMethods inherited from class Entity
getHeight, getTypecode, getTypecodeMethods inherited from class Adapter
getProvider, validateMethods inherited from interface Actionable
containsAction, containsAction, getSubMenuActionsMethods inherited from interface Animable
isAnimating, isAnimationActive, isIdleMethods inherited from interface Interactable
actionOf, interact, interact, interactMethods inherited from interface SceneNode
distance, distance, distance, distance, getArea, getCoordArea, getCoordArea, getCoordView, getFloorLevel, getSceneContext, getWorldEntity, getWorldEntity, getX, getY, isInFieldOfViewOf, isInFieldOfViewOf
-
Constructor Details
-
Npc
public Npc(jag.oldscape.RSNpc provider, jag.oldscape.RSWorldMatrix matrix)
-
-
Method Details
-
getDefinition
- Specified by:
getDefinitionin interfaceDefined<NpcDefinition>
-
getParameter
public int getParameter(int parameter) -
getParameter
-
getId
public int getId()- Specified by:
getIdin interfaceIdentifiable
-
getEntityPositionHeight
public int getEntityPositionHeight()- Specified by:
getEntityPositionHeightin interfaceSceneNode
-
getEntityPositionWidth
public int getEntityPositionWidth()- Specified by:
getEntityPositionWidthin interfaceSceneNode
-
getName
-
getOverheadPrayers
- Specified by:
getOverheadPrayersin classPathingEntity<jag.oldscape.RSNpc>
-
getOverheads
-
getOverheads
-
getOverheadText
- Overrides:
getOverheadTextin classPathingEntity<jag.oldscape.RSNpc>
-
getRawActions
- Specified by:
getRawActionsin interfaceActionable
-
getActions
- Specified by:
getActionsin interfaceActionable
-
isActionEnabled
public boolean isActionEnabled(int index) -
isActionEnabled
-
actionOf
- Specified by:
actionOfin interfaceInteractable
-
getEntityIndex
public int getEntityIndex()- Specified by:
getEntityIndexin classEntity<jag.oldscape.RSNpc>
-