ObjectDefinition

public class ObjectDefinition

Constructors

ObjectDefinition
Link copied to clipboard
void ObjectDefinition(RSObjectDefinition definition)

Functions

blocksProjectiles
Link copied to clipboard
boolean blocksProjectiles()
Gets whether or not the object can block projectiles.
get
Link copied to clipboard
static Optional<ObjectDefinitionget(int id)
Gets the object definition for the object with the specified ID.
getActions
Link copied to clipboard
List<StringgetActions()
getHeight
Link copied to clipboard
int getHeight()
Gets the height in tiles of this object.
getModifiedColors
Link copied to clipboard
Array<short> getModifiedColors()
getName
Link copied to clipboard
String getName()
getWidth
Link copied to clipboard
int getWidth()
Gets the width in tiles of this object.
isWalkable
Link copied to clipboard
boolean isWalkable()
Gets whether or not this object can be walked over