public class Projectile extends Animable<org.osbot.rs07.accessor.XProjectile>
model, prioritized
Constructor and Description |
---|
Projectile(org.osbot.rs07.accessor.XProjectile accessor)
Constructor
|
Modifier and Type | Method and Description |
---|---|
Position |
getCurrentLocalPosition()
Gets the current local position of this projectile
|
Position |
getCurrentPosition()
Gets the current position of this projectile
|
double |
getCurrentX()
Gets the current x position of this projectile
|
double |
getCurrentY()
Gets the current y position of this projectile
|
double |
getCurrentZ()
Gets the current z position of this projectile
|
int |
getId()
Gets the id of this projectile
|
int |
getLoopCycle()
Gets the current loop cycle of this projectile
|
int |
getSlope()
Gets the current slope of this projectile
|
int |
getStartDistance()
Gets the start distance of this projectile
|
Position |
getStartPosition()
Gets the start position of this projectile
|
int |
getStartX()
Gets the start x position of this projectile
|
int |
getStartY()
Gets the start y position of this projectile
|
int |
getStartZ()
Gets the start z position of this projectile
|
Character |
getTargetEntity()
Gets the target
Character of this projectile |
int |
getTargetIndex()
Gets the target index of this projectile
|
boolean |
isMoving()
Checks if this projectile is moving
|
getAnimable, getModelHeight
getHeight, getModel, isPrioritized, setPrioritized, updateModel
getClient, getMethods
public Projectile(org.osbot.rs07.accessor.XProjectile accessor)
accessor
- The XProjectile
instancepublic boolean isMoving()
public double getCurrentX()
public double getCurrentY()
public double getCurrentZ()
public int getStartX()
public int getStartY()
public int getTargetIndex()
public int getId()
public int getLoopCycle()
public int getSlope()
public int getStartDistance()
public int getStartZ()
public Character getTargetEntity()
Character
of this projectileCharacter
of this projectilepublic Position getStartPosition()
public Position getCurrentLocalPosition()
public Position getCurrentPosition()