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 boolean
exists()
int
getEndCycle()
int
getFloorLevel()
Deprecated.int
getHeight()
double
getHeightOffset()
int
getID()
int
getLocalOriginX()
int
getLocalOriginY()
int
getLocalX()
int
getLocalY()
Entity
getOriginEntity()
int
getOriginEntityIndex()
Tile
getOriginTile()
int
getOriginX()
int
getOriginY()
int
getRawOriginX()
int
getRawOriginY()
double
getRawX()
double
getRawY()
double
getRotationX()
double
getRotationY()
AnimationSequenceWrapper
getSequence()
int
getSlope()
double
getSpeedX()
double
getSpeedY()
double
getSpeedZ()
int
getStartCycle()
int
getTargetDistance()
int
getTargetIndex()
Tile
getTile()
Gets tile of the object.int
getX()
Gets X coordinate of the given object.int
getY()
Gets Y coordinate of the given object.int
getZ()
Gets Z coordinate of the given object.boolean
isMoving()
java.lang.String
toString()
-
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, getTileReference, tileDistance, walkingDistance
-
-
-
-
Method Detail
-
getEndCycle
public int getEndCycle()
-
getStartCycle
public int getStartCycle()
-
getZ
public int getZ()
Description copied from interface:Locatable
Gets Z coordinate of the given object.
-
getFloorLevel
@Deprecated public int getFloorLevel()
Deprecated.
-
getHeightOffset
public double getHeightOffset()
-
getSlope
public int getSlope()
-
getRawOriginX
public int getRawOriginX()
-
getRawOriginY
public int getRawOriginY()
-
getOriginEntityIndex
public int getOriginEntityIndex()
-
getOriginEntity
public Entity getOriginEntity()
-
getLocalOriginY
public int getLocalOriginY()
-
getLocalOriginX
public int getLocalOriginX()
-
getOriginY
public int getOriginY()
-
getOriginX
public int getOriginX()
-
getOriginTile
public Tile getOriginTile()
-
getTargetDistance
public int getTargetDistance()
-
getTargetIndex
public int getTargetIndex()
-
getID
public int getID()
-
getHeight
public int getHeight()
- Overrides:
getHeight
in classRenderableNode
-
isMoving
public boolean isMoving()
-
getRotationX
public double getRotationX()
-
getRotationY
public double getRotationY()
-
getSequence
public AnimationSequenceWrapper getSequence()
-
getSpeedZ
public double getSpeedZ()
-
getSpeedX
public double getSpeedX()
-
getSpeedY
public double getSpeedY()
-
getRawX
public double getRawX()
-
getLocalX
public int getLocalX()
-
getX
public int getX()
Description copied from interface:Locatable
Gets X coordinate of the given object.
-
getRawY
public double getRawY()
-
getLocalY
public int getLocalY()
-
getY
public int getY()
Description copied from interface:Locatable
Gets Y coordinate of the given object.
-
exists
public boolean exists()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-