Package net.runelite.api.events
Class ProjectileMoved
- java.lang.Object
-
- net.runelite.api.events.ProjectileMoved
-
public class ProjectileMoved extends Object
An event called whenever aProjectile
has moved towards a point.For projectiles that target the ground, this event is only triggered once (ie. AoE from Lizardman Shaman).
-
-
Constructor Summary
Constructors Constructor Description ProjectileMoved()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
canEqual(Object other)
boolean
equals(Object o)
LocalPoint
getPosition()
The target location of the projectile.Projectile
getProjectile()
The projectile being moved.int
getZ()
The z-axis target location of the projectile.int
hashCode()
void
setPosition(LocalPoint position)
The target location of the projectile.void
setProjectile(Projectile projectile)
The projectile being moved.void
setZ(int z)
The z-axis target location of the projectile.String
toString()
-
-
-
Method Detail
-
getProjectile
public Projectile getProjectile()
The projectile being moved.
-
getPosition
public LocalPoint getPosition()
The target location of the projectile.
-
getZ
public int getZ()
The z-axis target location of the projectile.
-
setProjectile
public void setProjectile(Projectile projectile)
The projectile being moved.
-
setPosition
public void setPosition(LocalPoint position)
The target location of the projectile.
-
setZ
public void setZ(int z)
The z-axis target location of the projectile.
-
canEqual
protected boolean canEqual(Object other)
-
-