Projectile

public class Projectile implements Modellable, Positionable

Represents a projectile in the air, such as an arrow or a spell

See also

Constructors

Projectile
Link copied to clipboard
void Projectile(RSProjectile projectile)

Functions

adjustCameraTo
Link copied to clipboard
boolean adjustCameraTo()
Moves the camera to a position where the given entity or position is in view.
distance
Link copied to clipboard
int distance()
Determines the distance between this entity/tile and the local player
distanceTo
Link copied to clipboard
int distanceTo(Positionable position)
Determines the distance between this entity/tile and the given entity/tile
equals
Link copied to clipboard
boolean equals(Object o)
getDestination
Link copied to clipboard
WorldTile getDestination()
Gets the expected destination tile of this projectile.
getGraphicId
Link copied to clipboard
int getGraphicId()
getLegacyProjectile
Link copied to clipboard
RSProjectile getLegacyProjectile()
getModel
Link copied to clipboard
Optional<ModelgetModel()
Gets the entity model
getOrientation
Link copied to clipboard
int getOrientation()
getStart
Link copied to clipboard
WorldTile getStart()
Gets the start tile of this projectile
getTile
Link copied to clipboard
WorldTile getTile()
Gets the WorldTile of this entity/position
hashCode
Link copied to clipboard
int hashCode()
isMoving
Link copied to clipboard
boolean isMoving()
isTargetingMe
Link copied to clipboard
boolean isTargetingMe()
toString
Link copied to clipboard
String toString()