Class GameObjectSpawnEvent
- java.lang.Object
-
- com.runemate.game.api.script.framework.listeners.events.GameObjectSpawnEvent
-
- All Implemented Interfaces:
EntityEvent
,com.runemate.game.api.script.framework.listeners.events.Event
public final class GameObjectSpawnEvent extends java.lang.Object implements EntityEvent
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.runemate.game.api.script.framework.listeners.events.EntityEvent
EntityEvent.EntityType
-
-
Constructor Summary
Constructors Constructor Description GameObjectSpawnEvent(GameObject eventObject, Coordinate position)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
EntityEvent.EntityType
getEntityType()
GameObject
getEventObject()
Coordinate
getPosition()
int
hashCode()
java.lang.String
toString()
-
-
-
Constructor Detail
-
GameObjectSpawnEvent
public GameObjectSpawnEvent(GameObject eventObject, Coordinate position)
-
-
Method Detail
-
getEntityType
public EntityEvent.EntityType getEntityType()
- Specified by:
getEntityType
in interfaceEntityEvent
-
getEventObject
public GameObject getEventObject()
-
getPosition
public Coordinate getPosition()
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-