Package rsb.wrappers
Class RSPlayer
java.lang.Object
rsb.methods.MethodProvider
rsb.wrappers.RSCharacter
rsb.wrappers.RSPlayer
- All Implemented Interfaces:
Clickable
,Clickable07
,Positionable
Represents a player.
-
Nested Class Summary
Nested classes/interfaces inherited from class rsb.wrappers.RSCharacter
RSCharacter.DIRECTION
-
Field Summary
Fields inherited from class rsb.methods.MethodProvider
methods
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class rsb.wrappers.RSCharacter
doClick, doClick, doHover, equals, getAnimation, getDirectionFacing, getGraphic, getHeight, getHPPercent, getLevel, getLocation, getMessage, getMinimapLocation, getModel, getOrientation, getPathX, getPathY, getScreenLocation, hashCode, isAnimating, isAttacking, isBeingAttacked, isClickable, isInCombat, isInteractingWithLocalPlayer, isOnScreen, isValid, turnTo
-
Constructor Details
-
RSPlayer
-
-
Method Details
-
getAccessor
public net.runelite.api.Actor getAccessor() -
getInteracting
public net.runelite.api.Actor getInteracting() -
getCombatLevel
public int getCombatLevel() -
isLocalPlayerMoving
public boolean isLocalPlayerMoving() -
getName
- Overrides:
getName
in classRSCharacter
-
getTeam
public int getTeam() -
isIdle
public boolean isIdle() -
doAction
Description copied from class:RSCharacter
Performs an action on a humanoid character (tall and skinny).- Specified by:
doAction
in interfaceClickable
- Overrides:
doAction
in classRSCharacter
- Parameters:
action
- The action of the menu entry to be clicked (if available).- Returns:
true
if the option was found; otherwisefalse
.
-
doAction
Description copied from class:RSCharacter
Performs an action on a humanoid character (tall and skinny).- Specified by:
doAction
in interfaceClickable
- Overrides:
doAction
in classRSCharacter
- Parameters:
action
- The action of the menu entry to be clicked (if available).target
- The option of the menu entry to be clicked (if available).- Returns:
true
if the option was found; otherwisefalse
.
-
toString
-
getPosition
-