Package net.sf.magicproject.action

Provides actions.

See:
          Description

Interface Summary
AccessibleContext  
BackgroundMessaging  
LoopAction  
 

Class Summary
ActionFactory  
AddModifierFromStaticModifier  
DetachMe  
GiveMana It's the mana source action, modify directly the mana pool like : Land, other mana sources
Hop Change the normal jump(1) in the current actions chain, to another one .
Input Display a message box with a customizable ok button and text.
InputChoice Propose to choose within several valid actions list.
MAction This class is representing an atom action.
MessagingAction  
ModifyRegister This action is used to modifiy a public token or a private one of the card.
ModifyTargetableRegister This action is used to modifiy a register of a player or a card.
MoveCard To move the current target list from their place to another.
MoveObject Move an object from a component to another component.
PayMana Used to pay mana, remove directly mana from the mana pool
RefreshModifier  
RemoveMe  
RemoveObject Remove an object from the component of target list.
Repeat Repeat the next action n times.
Sound Play a sound.
Target Add to the target list card(s) or player(s) following the specified mode and the specified type.
UnregisterThis This action remove the the current ability from the current listeners.
UserAction  
WaitActivatedChoice  
WaitChoosenActionChoice  
WaitTriggeredBufferChoice  
 

Enum Summary
Actiontype Represents all atomic actions necessary to implement all possible abilities of the Magic play.
 

Package net.sf.magicproject.action Description

Provides actions. An action is a modication such as registers, list, card position, and also prompts. An action can depends on expressions conditions an player choices. Ones are fixed and others are evaluated at the runtime. To each execution, is given the ability owning this action, the associated context and the context of this action. For some iterating actions, a counter is given.
Excepting for a few actions, each action generate exactly ONE event. An action's execution cannot be replaced, nevertheless the genrated event can be.



Copyright © 2003-2007 Magic-Project. All Rights Reserved.