|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.magicproject.clickable.ability.Ability
net.sf.magicproject.clickable.ability.UserAbility
net.sf.magicproject.clickable.ability.TriggeredAbility
public class TriggeredAbility
| Field Summary |
|---|
| Fields inherited from class net.sf.magicproject.clickable.ability.Ability |
|---|
optimizer, priority |
| Method Summary | |
|---|---|
Ability |
clone(MCard container)
return a copy of this ability TODO remove param container since it is not used in this constructor As default, return null |
java.lang.String |
getAbilityTitle()
Return ability html title. |
DelayedCard |
getDelayedCard()
Return the delayed card. |
java.lang.String |
getLog(ContextEventListener context)
Return a String identifying this ability with the name and/or card name. |
boolean |
isDelayedAbility()
Return true if this ability is a delayed one. |
boolean |
isMatching()
compare the current event to the event activating this ability. |
void |
removeFromManager()
Remove from the event manager this listener. |
void |
setDelayedCard(DelayedCard delayedCard)
|
java.lang.String |
toHtmlString(ContextEventListener context)
Return the HTML code representing this ability. |
| Methods inherited from class net.sf.magicproject.clickable.ability.UserAbility |
|---|
actionList, checkObjectActions, checkTargetActions, clickOn, effectList, eventComing, getCard, manaNeeded, mouseClicked, recheckTargets, toString, triggerIt |
| Methods inherited from class net.sf.magicproject.clickable.ability.Ability |
|---|
addLinkedAbility, equals, getCardCopy, getController, getName, getPictureName, getTargetable, getTriggeredClone, getTriggeredCloneChoice, hashCode, hasHighPriority, isAutoResolve, isHidden, isPlayAsSpell, optimizeRegisterToManager, registerToManager, resolveStack, setEvent |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public Ability clone(MCard container)
Ability
clone in class UserAbilitycontainer - is not used here
public void setDelayedCard(DelayedCard delayedCard)
delayedCard - public void removeFromManager()
Unregisterable
removeFromManager in interface UnregisterableremoveFromManager in class Abilitypublic boolean isMatching()
Ability
isMatching in class UserAbilitypublic final java.lang.String toHtmlString(ContextEventListener context)
Ability
toHtmlString in class UserAbilitycontext - the context needed by event activated
public java.lang.String getLog(ContextEventListener context)
Ability
getLog in class Abilitycontext - the current context of this ability.
public java.lang.String getAbilityTitle()
Ability
getAbilityTitle in class Abilitypublic boolean isDelayedAbility()
public DelayedCard getDelayedCard()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||