| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.magicproject.action.MAction
net.sf.magicproject.action.UnregisterThis
public final class UnregisterThis
This action remove the the current ability from the current listeners. The removed ability will not be activated until it has been registered again. The current ability is not aborted, just removed from listeners.
| Field Summary | |
|---|---|
static UnregisterThis | 
instance
The unique instance of this class  | 
| Method Summary | |
|---|---|
 Actiontype | 
getIdAction()
Return the index of this action.  | 
 boolean | 
play(ContextEventListener context,
     Ability ability)
Generate event associated to this action.  | 
 java.lang.String | 
toString(Ability ability)
String representation of this action.  | 
| Methods inherited from class net.sf.magicproject.action.MAction | 
|---|
equal, getActionName, manaNeeded, parseTest, toHtmlString, toHtmlString, toString | 
| Methods inherited from class java.lang.Object | 
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Field Detail | 
|---|
public static UnregisterThis instance
| Method Detail | 
|---|
public Actiontype getIdAction()
MAction
getIdAction in class MActionActiontype
public boolean play(ContextEventListener context,
                    Ability ability)
StandardAction
play in interface StandardActioncontext - is the context attached to this action.ability - is the ability owning this test. The card component of this
          ability should correspond to the card owning this test too.
public java.lang.String toString(Ability ability)
MAction
toString in class MActionability - is the ability owning this test. The card component of this
          ability should correspond to the card owning this test too.
Object.toString()
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||