Class Projectile
- java.lang.Object
-
- org.dreambot.api.wrappers.cache.nodes.NodeWrapper
-
- org.dreambot.api.wrappers.cache.nodes.CacheNode
-
- org.dreambot.api.wrappers.cache.nodes.RenderableNode
-
- org.dreambot.api.wrappers.graphics.Projectile
-
public class Projectile extends RenderableNode implements Locatable
-
-
Constructor Summary
Constructors Constructor Description Projectile(java.lang.Object reference)Note: This shouldn't be used by API users, it's an internal constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleanexists()intgetEndCycle()intgetFloorLevel()Deprecated.intgetHeight()doublegetHeightOffset()Deprecated.intgetId()intgetID()Deprecated.seegetId()intgetLocalOriginX()intgetLocalOriginY()intgetLocalX()intgetLocalY()EntitygetOriginEntity()intgetOriginEntityIndex()TilegetOriginTile()intgetOriginX()intgetOriginY()intgetRawOriginX()intgetRawOriginY()doublegetRawX()doublegetRawY()doublegetRotationX()Deprecated.doublegetRotationY()Deprecated.AnimationSequenceWrappergetSequence()Deprecated.intgetSlope()doublegetSpeedX()Deprecated.doublegetSpeedY()Deprecated.doublegetSpeedZ()Deprecated.intgetStartCycle()intgetTargetDistance()EntitygetTargetEntity()intgetTargetIndex()TilegetTargetTile()intgetTargetX()intgetTargetY()TilegetTile()If the projectile has not started moving yet, this will returngetOriginTile()intgetX()Gets X coordinate of the given object.intgetY()Gets Y coordinate of the given object.intgetZ()Gets Z coordinate of the given object.booleanisMoving()java.lang.StringtoString()-
Methods inherited from class org.dreambot.api.wrappers.cache.nodes.CacheNode
getNext, getPrevious, getReference
-
Methods inherited from class org.dreambot.api.wrappers.cache.nodes.NodeWrapper
getUID
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.dreambot.api.wrappers.interactive.Locatable
canReach, canReach, distance, getGridX, getGridY, getRegionId, getTileReference, tileDistance, walkingDistance
-
-
-
-
Method Detail
-
getEndCycle
public int getEndCycle()
-
getStartCycle
public int getStartCycle()
-
getZ
public int getZ()
Description copied from interface:LocatableGets Z coordinate of the given object.
-
getFloorLevel
@Deprecated public int getFloorLevel()
Deprecated.
-
getHeightOffset
@Deprecated public double getHeightOffset()
Deprecated.
-
getSlope
public int getSlope()
-
getRawOriginX
public int getRawOriginX()
-
getRawOriginY
public int getRawOriginY()
-
getOriginEntityIndex
public int getOriginEntityIndex()
-
getOriginEntity
public Entity getOriginEntity()
-
getTargetEntity
public Entity getTargetEntity()
-
getLocalOriginY
public int getLocalOriginY()
-
getLocalOriginX
public int getLocalOriginX()
-
getTargetX
public int getTargetX()
-
getTargetY
public int getTargetY()
-
getTargetTile
public Tile getTargetTile()
-
getOriginY
public int getOriginY()
-
getOriginX
public int getOriginX()
-
getOriginTile
public Tile getOriginTile()
-
getTargetDistance
public int getTargetDistance()
-
getTargetIndex
public int getTargetIndex()
-
getId
public int getId()
-
getID
@Deprecated public int getID()
Deprecated.seegetId()
-
getHeight
public int getHeight()
- Overrides:
getHeightin classRenderableNode
-
isMoving
public boolean isMoving()
-
getRotationX
@Deprecated public double getRotationX()
Deprecated.
-
getRotationY
@Deprecated public double getRotationY()
Deprecated.
-
getSequence
@Deprecated public AnimationSequenceWrapper getSequence()
Deprecated.
-
getSpeedZ
@Deprecated public double getSpeedZ()
Deprecated.
-
getSpeedX
@Deprecated public double getSpeedX()
Deprecated.
-
getSpeedY
@Deprecated public double getSpeedY()
Deprecated.
-
getRawX
public double getRawX()
-
getLocalX
public int getLocalX()
-
getX
public int getX()
Description copied from interface:LocatableGets X coordinate of the given object.
-
getRawY
public double getRawY()
-
getLocalY
public int getLocalY()
-
getY
public int getY()
Description copied from interface:LocatableGets Y coordinate of the given object.
-
exists
public boolean exists()
-
getTile
public Tile getTile()
If the projectile has not started moving yet, this will returngetOriginTile()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-