public class SimpleProjectile extends SimpleWrapper<simple.bot.internal.IProjectile> implements SimpleIdentifiable, SimpleLocatable
ctx
Constructor and Description |
---|
SimpleProjectile(ClientContext ctx,
simple.bot.internal.IProjectile reflectedObject) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
int |
getEndCycle() |
int |
getId()
Returns id of the object
|
WorldPoint |
getLocation()
Position in world of object
|
int |
getPlane() |
int |
getSourceX() |
int |
getSourceY() |
int |
getStartCycle() |
int |
getTargetIndex() |
int |
hashCode() |
getReflectedObject
getClass, notify, notifyAll, toString, wait, wait, wait
distanceTo, within, withinRange
public SimpleProjectile(ClientContext ctx, simple.bot.internal.IProjectile reflectedObject)
ctx
- reflectedObject
- public int getId()
SimpleIdentifiable
getId
in interface SimpleIdentifiable
public WorldPoint getLocation()
SimpleLocatable
getLocation
in interface SimpleLocatable
public int getSourceX()
public int getSourceY()
public int getStartCycle()
public int getEndCycle()
public int getPlane()
public int getTargetIndex()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object