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 TypeMethodDescriptionboolean
Performs the given action on this RSGroundItem.boolean
Performs the given action on this RSGroundItem.boolean
doClick()
boolean
doClick
(boolean leftClick) boolean
doHover()
getItem()
Gets the tile position of the entity as provided by the clientgetModel()
Gets the top model on the tile of this ground item.boolean
boolean
boolean
turnTo()
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:Positionable
Gets the tile position of the entity as provided by the client- Specified by:
getLocation
in 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:Positionable
Turns the camera to face the entity- Specified by:
turnTo
in interfacePositionable
- Returns:
True
if 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:
isClickable
in interfaceClickable07
-