Class GraphicsObject
- 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.GraphicsObject
-
public class GraphicsObject extends RenderableNode implements Locatable
GraphicsObjects are certain graphical animations that do not move. If you're looking for something that isn't an object or a projectile, it's possibly a GraphicsObject.
-
-
Constructor Summary
Constructors Constructor Description GraphicsObject(java.lang.Object reference)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)intgetId()intgetID()Deprecated.seegetId()intgetSpawnTime()TilegetTile()Gets tile of the object.intgetX()Gets X coordinate of the given object.intgetY()Gets Y coordinate of the given object.intgetZ()Gets Z coordinate of the given object.inthashCode()java.lang.StringtoString()-
Methods inherited from class org.dreambot.api.wrappers.cache.nodes.RenderableNode
getHeight
-
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 interface org.dreambot.api.wrappers.interactive.Locatable
canReach, canReach, distance, getGridX, getGridY, getRegionId, getTileReference, tileDistance, walkingDistance
-
-
-
-
Method Detail
-
getID
@Deprecated public int getID()
Deprecated.seegetId()
-
getId
public int getId()
-
getX
public int getX()
Description copied from interface:LocatableGets X coordinate of the given object.
-
getY
public int getY()
Description copied from interface:LocatableGets Y coordinate of the given object.
-
getZ
public int getZ()
Description copied from interface:LocatableGets Z coordinate of the given object.
-
getSpawnTime
public int getSpawnTime()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-