Projectile

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

See also

Constructors

Link copied to clipboard
constructor(projectile: RSProjectile)

Functions

Link copied to clipboard
Moves the camera to a position where the given entity or position is in view.
Link copied to clipboard
open fun distance(): Int
Determines the distance between this entity/tile and the local player
Link copied to clipboard
open fun distanceTo(position: Positionable): Int
Determines the distance between this entity/tile and the given entity/tile
Link copied to clipboard
open fun equals(o: Any): Boolean
Link copied to clipboard
Gets the expected destination tile of this projectile.
Link copied to clipboard
open fun getGraphicId(): Int
Link copied to clipboard
open fun getLegacyProjectile(): RSProjectile
Link copied to clipboard
open fun getModel(): Optional<Model>
Gets the entity model
Link copied to clipboard
open fun getOrientation(): Int
Link copied to clipboard
open fun getStart(): WorldTile
Gets the start tile of this projectile
Link copied to clipboard
open fun getTile(): WorldTile
Gets the WorldTile of this entity/position
Link copied to clipboard
open fun hashCode(): Int
Link copied to clipboard
open fun isMoving(): Boolean
Link copied to clipboard
Link copied to clipboard
open fun toString(): String