|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<Actiontype> net.sf.magicproject.action.Actiontype
public enum Actiontype
Represents all atomic actions necessary to implement all possible abilities of the Magic play.
Method Summary | |
---|---|
static Actiontype |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Actiontype[] |
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 Actiontype PAY_MANA
PayMana
public static final Actiontype MOVE_PLAYER_CARD
public static final Actiontype GIVE_MANA_BASIC
GiveMana
public static final Actiontype TARGET
Target
public static final Actiontype ASSIGN_DAMAGE_TARGET
public static final Actiontype TAP
public static final Actiontype SHUFFLE
public static final Actiontype CHOICE
InputChoice
public static final Actiontype MSG
Input
public static final Actiontype CREATE_CARD
public static final Actiontype SKIP_PHASE
public static final Actiontype FORCE_PLAY
public static final Actiontype LOSE_GAME
public static final Actiontype HOP
Hop
public static final Actiontype MOVE_CARD
public static final Actiontype ASSIGN_DAMAGE_SOURCE_DEST
public static final Actiontype WAIT_ACTIVATED_CHOICE
WaitActivatedChoice
public static final Actiontype WAIT_TRIGGERED_BUFFER_CHOICE
WaitTriggeredBufferChoice
public static final Actiontype UPDATE_LIFE
public static final Actiontype UPDATE_TOUGHNESS
public static final Actiontype LETHAL_DAMAGE
public static final Actiontype UNREGISTER_THIS
public static final Actiontype ATTACH_LIST
public static final Actiontype ATTACH
public static final Actiontype ABORT
public static final Actiontype ADD_OBJECT
public static final Actiontype MOVE_OBJECT
MoveObject
public static final Actiontype REMOVE_OBJECT
RemoveObject
public static final Actiontype REPEAT_ACTION
Repeat
public static final Actiontype IF_THEN_ELSE
public static final Actiontype MODIFY_TARGETABLE_REGISTER
ModifyTargetableRegister
public static final Actiontype ZONE_VISIBILITY
public static final Actiontype MODIFY_STACK_REGISTER
public static final Actiontype MODIFY_STATIC_REGISTER
public static final Actiontype REMOVE_ME
RemoveMe
public static final Actiontype ADD_MODIFIER
public static final Actiontype SET_ID_CARD
public static final Actiontype REFRESH_MODIFIER
RefreshModifier
public static final Actiontype REFRESH_STATIC_MODIFIER
AddModifierFromStaticModifier
public static final Actiontype DETACH_ME
DetachMe
public static final Actiontype NEXT_CURRENT_PLAYER
public static final Actiontype NEXT_PHASE
public static final Actiontype CREATE_ABILITY
public static final Actiontype CREATE_MODIFIER
public static final Actiontype SOUND
Sound
public static final Actiontype MODIFY_ABILITY_REGISTER
public static final Actiontype MODIFY_TARGET_LIST_REGISTER
public static final Actiontype ADD_ABILITY
ActionFactory
public static final Actiontype RESOLVE_HIDDEN
ActionFactory
public static final Actiontype INPUT_NUMBER
ActionFactory
public static final Actiontype INPUT_COLOR
ActionFactory
public static final Actiontype INPUT_ZONE
ActionFactory
public static final Actiontype INPUT_PROPERTY
ActionFactory
public static final Actiontype TARGET_LIST
public static final Actiontype INT_LIST
public static final Actiontype GENERATE_EVENT
public static final Actiontype GIVE_MANA_MULTI
GiveMana
public static final Actiontype TARGET_ALL
public static final Actiontype FACE
public static final Actiontype OBJECT_MAP
public static final Actiontype TARGET_RANDOM
public static final Actiontype MODIFY_REQUIRED_MANA
public static final Actiontype COPY_CARD
public static final Actiontype RESTORE_CARD
Method Detail |
---|
public static Actiontype[] values()
for (Actiontype c : Actiontype.values()) System.out.println(c);
public static Actiontype 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
- If some other I/O error occurs
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |