|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<AbilityType> net.sf.magicproject.clickable.ability.AbilityType
public enum AbilityType
Enum Constant Summary | |
---|---|
ACTIVATED_ABILITY
This code indicates the following ability is an activated one. |
|
ACTIVATED_ABILITY_PLAYER
This code indicates the following ability is an activated one. |
|
REFERENCED_ABILITY
This code indicates the following ability is a reference. |
|
REPLACEMENT_ABILITY
This code indicates the following ability is a replacement ability. |
|
SYSTEM_ABILITY
This code indicates the following ability is a system ability. |
|
TRIGGERED_ABILITY
This code indicates the following ability is a triggered one. |
|
TRIGGERED_ABILITY_SET
This code indicates the following ability is a triggered one. |
Method Summary | |
---|---|
static AbilityType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static AbilityType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
void |
write(java.io.OutputStream out)
Wrtite this enum to the given outputstream. |
Methods inherited from class java.lang.Enum |
---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final AbilityType TRIGGERED_ABILITY
TriggeredAbility
public static final AbilityType TRIGGERED_ABILITY_SET
TriggeredAbilitySet
public static final AbilityType ACTIVATED_ABILITY
ActivatedAbility
public static final AbilityType ACTIVATED_ABILITY_PLAYER
ActivatedAbilityPlayer
public static final AbilityType REFERENCED_ABILITY
public static final AbilityType REPLACEMENT_ABILITY
ReplacementAbility
public static final AbilityType SYSTEM_ABILITY
SystemAbility
Method Detail |
---|
public static AbilityType[] values()
for (AbilityType c : AbilityType.values()) System.out.println(c);
public static AbilityType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is nullpublic void write(java.io.OutputStream out) throws java.io.IOException
out
- the stream ths enum would be written.
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |