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 boolean
equals(java.lang.Object obj)
int
getId()
int
getID()
Deprecated.seegetId()
int
getSpawnTime()
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.int
hashCode()
java.lang.String
toString()
-
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:Locatable
Gets X coordinate of the given object.
-
getY
public int getY()
Description copied from interface:Locatable
Gets Y coordinate of the given object.
-
getZ
public int getZ()
Description copied from interface:Locatable
Gets Z coordinate of the given object.
-
getSpawnTime
public int getSpawnTime()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-