Enum EntityEvent.EntityType
- java.lang.Object
-
- java.lang.Enum<EntityEvent.EntityType>
-
- com.runemate.game.api.script.framework.listeners.events.EntityEvent.EntityType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<EntityEvent.EntityType>
- Enclosing interface:
- EntityEvent
public static enum EntityEvent.EntityType extends java.lang.Enum<EntityEvent.EntityType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description GAMEOBJECT
GROUNDITEM
NPC
PLAYER
PROJECTILE
SPOTANIMATION
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static EntityEvent.EntityType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static EntityEvent.EntityType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NPC
public static final EntityEvent.EntityType NPC
-
PLAYER
public static final EntityEvent.EntityType PLAYER
-
GAMEOBJECT
public static final EntityEvent.EntityType GAMEOBJECT
-
SPOTANIMATION
public static final EntityEvent.EntityType SPOTANIMATION
-
GROUNDITEM
public static final EntityEvent.EntityType GROUNDITEM
-
PROJECTILE
public static final EntityEvent.EntityType PROJECTILE
-
-
Method Detail
-
values
public static EntityEvent.EntityType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (EntityEvent.EntityType c : EntityEvent.EntityType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EntityEvent.EntityType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-