Class DeathEvent
- java.lang.Object
-
- com.runemate.game.api.script.framework.listeners.events.DeathEvent
-
- All Implemented Interfaces:
EntityEvent
,com.runemate.game.api.script.framework.listeners.events.Event
public final class DeathEvent extends java.lang.Object implements EntityEvent
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DeathEvent.Type
Deprecated.-
Nested classes/interfaces inherited from interface com.runemate.game.api.script.framework.listeners.events.EntityEvent
EntityEvent.EntityType
-
-
Constructor Summary
Constructors Constructor Description DeathEvent(EntityEvent.EntityType entityType, Locatable source, Coordinate position, Area.Rectangular area, int cycle)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
Area.Rectangular
getArea()
int
getCycle()
EntityEvent.EntityType
getEntityType()
Coordinate
getPosition()
Locatable
getSource()
DeathEvent.Type
getType()
Deprecated.use #getEntityType()int
hashCode()
java.lang.String
toString()
-
-
-
Constructor Detail
-
DeathEvent
public DeathEvent(EntityEvent.EntityType entityType, Locatable source, Coordinate position, Area.Rectangular area, int cycle)
-
-
Method Detail
-
getType
@Deprecated public DeathEvent.Type getType()
Deprecated.use #getEntityType()
-
getEntityType
public EntityEvent.EntityType getEntityType()
- Specified by:
getEntityType
in interfaceEntityEvent
-
getSource
public Locatable getSource()
-
getPosition
public Coordinate getPosition()
-
getArea
public Area.Rectangular getArea()
-
getCycle
public int getCycle()
-
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
-
-