Package net.runelite.api.events
Class ProjectileMoved
- java.lang.Object
-
- net.runelite.api.events.ProjectileMoved
-
public class ProjectileMoved extends Object
An event called whenever aProjectilehas 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 booleancanEqual(Object other)booleanequals(Object o)LocalPointgetPosition()The target location of the projectile.ProjectilegetProjectile()The projectile being moved.intgetZ()The z-axis target location of the projectile.inthashCode()voidsetPosition(LocalPoint position)The target location of the projectile.voidsetProjectile(Projectile projectile)The projectile being moved.voidsetZ(int z)The z-axis target location of the projectile.StringtoString()
-
-
-
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)
-
-