Package net.runelite.api.events
Class GameObjectChanged
- java.lang.Object
-
- net.runelite.api.events.GameObjectChanged
-
public class GameObjectChanged extends java.lang.Object
An event where aGameObject
on aTile
has been replaced.
-
-
Constructor Summary
Constructors Constructor Description GameObjectChanged()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
canEqual(java.lang.Object other)
boolean
equals(java.lang.Object o)
GameObject
getGameObject()
The new game object on the tile.GameObject
getPrevious()
The game object that has been replaced.Tile
getTile()
The affected tile.int
hashCode()
void
setGameObject(GameObject gameObject)
The new game object on the tile.void
setPrevious(GameObject previous)
The game object that has been replaced.void
setTile(Tile tile)
The affected tile.java.lang.String
toString()
-
-
-
Method Detail
-
getTile
public Tile getTile()
The affected tile.
-
getPrevious
public GameObject getPrevious()
The game object that has been replaced.
-
getGameObject
public GameObject getGameObject()
The new game object on the tile.
-
setTile
public void setTile(Tile tile)
The affected tile.
-
setPrevious
public void setPrevious(GameObject previous)
The game object that has been replaced.
-
setGameObject
public void setGameObject(GameObject gameObject)
The new game object on the tile.
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-