Package net.runelite.api.events
Class GameObjectSpawned
- java.lang.Object
-
- net.runelite.api.events.GameObjectSpawned
-
public class GameObjectSpawned extends java.lang.ObjectAn event where aGameObjectis added to aTile.
-
-
Constructor Summary
Constructors Constructor Description GameObjectSpawned()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(java.lang.Object other)booleanequals(java.lang.Object o)GameObjectgetGameObject()The newly spawned game object.TilegetTile()The affected tile.inthashCode()voidsetGameObject(GameObject gameObject)The newly spawned game object.voidsetTile(Tile tile)The affected tile.java.lang.StringtoString()
-
-
-
Method Detail
-
getTile
public Tile getTile()
The affected tile.
-
getGameObject
public GameObject getGameObject()
The newly spawned game object.
-
setTile
public void setTile(Tile tile)
The affected tile.
-
setGameObject
public void setGameObject(GameObject gameObject)
The newly spawned game object.
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-