Package rsb.wrappers
Class RSGroundItem
java.lang.Object
rsb.methods.MethodProvider
rsb.wrappers.RSGroundItem
- All Implemented Interfaces:
Clickable,Clickable07,Positionable
Represents an item on a tile.
-
Field Summary
Fields inherited from class rsb.methods.MethodProvider
methods -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanPerforms the given action on this RSGroundItem.booleanPerforms the given action on this RSGroundItem.booleandoClick()booleandoClick(boolean leftClick) booleandoHover()getItem()Gets the tile position of the entity as provided by the clientgetModel()Gets the top model on the tile of this ground item.booleanbooleanbooleanturnTo()Turns the camera to face the entity
-
Constructor Details
-
RSGroundItem
-
-
Method Details
-
getModel
Gets the top model on the tile of this ground item.- Returns:
- The top model on the tile of this ground item.
-
doAction
Performs the given action on this RSGroundItem. -
doAction
Performs the given action on this RSGroundItem. -
getItem
-
getLocation
Description copied from interface:PositionableGets the tile position of the entity as provided by the client- Specified by:
getLocationin interfacePositionable- Returns:
- the tile position of the entity if it exists, else null
-
isOnScreen
public boolean isOnScreen() -
turnTo
public boolean turnTo()Description copied from interface:PositionableTurns the camera to face the entity- Specified by:
turnToin interfacePositionable- Returns:
Trueif the camera has been turned to face the entity
-
doHover
public boolean doHover() -
doClick
public boolean doClick() -
doClick
public boolean doClick(boolean leftClick) -
isClickable
public boolean isClickable()- Specified by:
isClickablein interfaceClickable07
-