|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Ability | |
---|---|
net.sf.magicproject.action | Provides actions. |
net.sf.magicproject.action.context | Provides context classes of an action. |
net.sf.magicproject.action.handler | Provides interfaces describing the resolution phase(s) an action is executed. |
net.sf.magicproject.action.intlist | Provides actions manipulating a list of integers. |
net.sf.magicproject.action.listener | Provides interfaces describing the king of listener an action is. |
net.sf.magicproject.action.objectmap | Provides actions manipulating maps of objects of targetable components. |
net.sf.magicproject.action.target | Provides action manipulating list of targetable adding only ONE target. |
net.sf.magicproject.action.targetlist | Provides actions manipulating lists of targetable components. |
net.sf.magicproject.clickable.ability | Abilities. |
net.sf.magicproject.clickable.action | Clickable actions are visible actions the players can see their progress such as what's done and what's remain to do. |
net.sf.magicproject.clickable.mana | Mana represents colored (so visible) entities can be clickable by players. |
net.sf.magicproject.clickable.targetable | Provides all targetable objects : player, card, card... |
net.sf.magicproject.clickable.targetable.card | All card components. |
net.sf.magicproject.event | Available events. |
net.sf.magicproject.event.phase | The phase events : before, beginning, ending events. |
net.sf.magicproject.expression | Provides expressions. |
net.sf.magicproject.expression.intlist | Provides expressions evaluating list of integers. |
net.sf.magicproject.expression.targetlist | Provides expressions evaluating list of targetable components. |
net.sf.magicproject.modifier | Provides modifiers. |
net.sf.magicproject.stack | All classes manipulating stack and controlling the abilities/actions flow. |
net.sf.magicproject.test | Provides all tests. |
net.sf.magicproject.token | Unclassed constants. |
net.sf.magicproject.ui.component | I18N utilities. |
net.sf.magicproject.ui.wizard | Wizard components. |
net.sf.magicproject.zone | Contains all zones. |
Uses of Ability in net.sf.magicproject.action |
---|
Methods in net.sf.magicproject.action that return types with arguments of type Ability | |
---|---|
java.util.List<Ability> |
WaitChoosenActionChoice.abilitiesOf(MCard card)
|
java.util.List<Ability> |
WaitActivatedChoice.abilitiesOf(MCard card)
|
java.util.List<Ability> |
PayMana.abilitiesOf(MCard card)
|
java.util.List<Ability> |
WaitChoosenActionChoice.advancedAbilitiesOf(MCard card)
|
java.util.List<Ability> |
WaitActivatedChoice.advancedAbilitiesOf(MCard card)
|
java.util.List<Ability> |
PayMana.advancedAbilitiesOf(MCard card)
|
Methods in net.sf.magicproject.action with parameters of type Ability | |
---|---|
boolean |
RemoveObject.checkObject(Ability ability,
Targetable target,
int nbObjects)
|
boolean |
MoveObject.checkObject(Ability ability,
Targetable target,
int nbObjects)
|
boolean |
InputChoice.checkTarget(Ability ability,
int actionIndex)
Verify if this target action may cause abortion of the current ability. |
boolean |
PayMana.choose(ActionContextWrapper actionContext,
ContextEventListener context,
Ability ability)
|
boolean |
ModifyTargetableRegister.choose(ActionContextWrapper actionContext,
ContextEventListener context,
Ability ability)
|
boolean |
WaitChoosenActionChoice.clickOn(Ability ability)
|
boolean |
WaitActivatedChoice.clickOn(Ability ability)
|
boolean |
PayMana.clickOn(Ability ability)
|
boolean |
RemoveObject.continueLoop(ContextEventListener context,
int loopingIndex,
Ability ability)
|
boolean |
MoveObject.continueLoop(ContextEventListener context,
int loopingIndex,
Ability ability)
|
boolean |
MoveCard.continueLoop(ContextEventListener context,
int loopingIndex,
Ability ability)
|
boolean |
LoopAction.continueLoop(ContextEventListener context,
int loopingIndex,
Ability ability)
Continue this action, giving the next index of this loop. |
static int |
ModifyRegister.countAllCardsOf(Test test,
Ability ability,
int restrictionZone)
Checks all cards corresponding to this constraints |
void |
PayMana.disactivate(ActionContextWrapper actionContext,
ContextEventListener context,
Ability ability)
No generated event. |
void |
ModifyTargetableRegister.disactivate(ActionContextWrapper actionContext,
ContextEventListener context,
Ability ability)
|
static void |
MessagingAction.finishedMessage(int optionAnswer,
int indexAnswer,
ContextEventListener context,
Ability ability,
ActionContextWrapper actionContext)
The returned value is piped to the 'modifyregister' action. |
int |
Repeat.getPreemptionTimes(Ability ability,
Targetable tested)
Return nb times to repeat the next action exactly as it will be when the ability will be executed..Return -1 if value cannot be
pre-empted. |
boolean |
Repeat.init(ActionContextWrapper actionContext,
ContextEventListener context,
Ability ability)
|
boolean |
PayMana.init(ActionContextWrapper actionContext,
ContextEventListener context,
Ability ability)
|
boolean |
ModifyTargetableRegister.init(ActionContextWrapper actionContext,
ContextEventListener context,
Ability ability)
|
boolean |
MessagingAction.init(ActionContextWrapper actionContext,
ContextEventListener context,
Ability ability)
|
boolean |
Hop.init(ActionContextWrapper actionContext,
ContextEventListener context,
Ability ability)
|
int[] |
UserAction.manaNeeded(Ability ability,
ContextEventListener context)
|
int[] |
PayMana.manaNeeded(Ability ability,
ContextEventListener context)
|
int[] |
MAction.manaNeeded(Ability ability,
ContextEventListener context)
Return the amount of mana needed (constant part only) to play this ability As default, we return an empty number for all manas. |
static boolean |
MoveCard.moveCard(MCard movingCard,
Player controller,
int destination,
ContextEventListener context,
int idPosition,
Ability ability,
boolean silentMode)
|
static boolean |
MoveCard.moveCard(MCard card,
TestOn controller,
int destination,
ContextEventListener context,
int idPosition,
Ability ability,
boolean silentMode)
Move a card in a zone with a specified new controller. |
boolean |
WaitTriggeredBufferChoice.play(ContextEventListener context,
Ability ability)
|
boolean |
WaitActivatedChoice.play(ContextEventListener context,
Ability ability)
Generate event associated to this action. |
boolean |
UnregisterThis.play(ContextEventListener context,
Ability ability)
|
abstract boolean |
Target.play(ContextEventListener context,
Ability ability)
|
boolean |
Sound.play(ContextEventListener context,
Ability ability)
|
boolean |
Repeat.play(ContextEventListener context,
Ability ability)
|
boolean |
RemoveMe.play(ContextEventListener context,
Ability ability)
|
boolean |
RefreshModifier.play(ContextEventListener context,
Ability ability)
|
boolean |
ModifyTargetableRegister.play(ContextEventListener context,
Ability ability)
|
abstract boolean |
ModifyRegister.play(ContextEventListener context,
Ability ability)
|
abstract boolean |
MessagingAction.play(ContextEventListener context,
Ability ability)
|
boolean |
InputChoice.play(ContextEventListener context,
Ability ability)
|
boolean |
Input.play(ContextEventListener context,
Ability ability)
|
boolean |
Hop.play(ContextEventListener context,
Ability ability)
|
abstract boolean |
GiveMana.play(ContextEventListener context,
Ability ability)
|
boolean |
DetachMe.play(ContextEventListener context,
Ability ability)
|
boolean |
AddModifierFromStaticModifier.play(ContextEventListener context,
Ability ability)
|
abstract boolean |
Target.replay(ActionContextWrapper actionContext,
ContextEventListener context,
Ability ability)
Generate event associated to this action. |
boolean |
Repeat.replay(ActionContextWrapper actionContext,
ContextEventListener context,
Ability ability)
|
boolean |
PayMana.replay(ActionContextWrapper actionContext,
ContextEventListener context,
Ability ability)
|
boolean |
ModifyTargetableRegister.replay(ActionContextWrapper actionContext,
ContextEventListener context,
Ability ability)
|
boolean |
MessagingAction.replay(ActionContextWrapper actionContext,
ContextEventListener context,
Ability ability)
|
boolean |
InputChoice.replay(ActionContextWrapper actionContext,
ContextEventListener context,
Ability ability)
|
boolean |
Hop.replay(ActionContextWrapper actionContext,
ContextEventListener context,
Ability ability)
|
void |
MoveCard.replayAction(ContextEventListener context,
Ability ability,
Wizard wizard)
|
void |
MessagingAction.replayAction(ContextEventListener context,
Ability ability,
Wizard wizard)
Replay the current action as it was when it has been suspended. |
void |
BackgroundMessaging.replayAction(ContextEventListener context,
Ability ability,
Wizard wizard)
Replay the current action as it was when it has been suspended. |
void |
Repeat.replayOnDemand(ActionContextWrapper actionContext,
ContextEventListener context,
Ability ability)
Replay the next action the amount of context times. |
void |
Target.rollback(ActionContextWrapper actionContext,
ContextEventListener context,
Ability ability)
|
void |
PayMana.rollback(ActionContextWrapper actionContext,
ContextEventListener context,
Ability ability)
No generated event. |
void |
MoveCard.rollback(ActionContextWrapper actionContext,
ContextEventListener context,
Ability ability)
|
void |
ModifyTargetableRegister.rollback(ActionContextWrapper actionContext,
ContextEventListener context,
Ability ability)
|
void |
Hop.rollback(ActionContextWrapper actionContext,
ContextEventListener context,
Ability ability)
|
void |
MoveCard.simulate(ActionContextWrapper actionContext,
ContextEventListener context,
Ability ability)
|
boolean |
WaitChoosenActionChoice.succeedClickOn(Ability ability)
|
boolean |
WaitActivatedChoice.succeedClickOn(Ability ability)
|
boolean |
PayMana.succeedClickOn(Ability ability)
|
java.lang.String |
UserAction.toHtmlString(Ability ability,
ContextEventListener context)
|
java.lang.String |
Repeat.toHtmlString(Ability ability,
ContextEventListener context)
|
java.lang.String |
RemoveObject.toHtmlString(Ability ability,
ContextEventListener context)
|
java.lang.String |
PayMana.toHtmlString(Ability ability,
ContextEventListener context)
|
java.lang.String |
MoveObject.toHtmlString(Ability ability,
ContextEventListener context)
|
java.lang.String |
ModifyRegister.toHtmlString(Ability ability,
ContextEventListener context)
|
java.lang.String |
MAction.toHtmlString(Ability ability,
ContextEventListener context)
Return the HTML code representing this action. |
java.lang.String |
InputChoice.toHtmlString(Ability ability,
ContextEventListener context)
|
abstract java.lang.String |
GiveMana.toHtmlString(Ability ability,
ContextEventListener context)
|
java.lang.String |
PayMana.toHtmlString(Ability ability,
ContextEventListener context,
ActionContextWrapper actionContext)
|
java.lang.String |
ModifyTargetableRegister.toHtmlString(Ability ability,
ContextEventListener context,
ActionContextWrapper actionContext)
|
java.lang.String |
UserAction.toHtmlString(Ability ability,
int times,
ContextEventListener context)
|
java.lang.String |
RemoveObject.toHtmlString(Ability ability,
int times,
ContextEventListener context)
|
java.lang.String |
MoveObject.toHtmlString(Ability ability,
int times,
ContextEventListener context)
|
java.lang.String |
MAction.toHtmlString(Ability ability,
int times,
ContextEventListener context)
Return the HTML code representing this action. |
java.lang.String |
WaitTriggeredBufferChoice.toString(Ability ability)
|
java.lang.String |
WaitChoosenActionChoice.toString(Ability ability)
|
java.lang.String |
WaitActivatedChoice.toString(Ability ability)
return the string representation of this action |
abstract java.lang.String |
UserAction.toString(Ability ability)
|
java.lang.String |
UnregisterThis.toString(Ability ability)
|
abstract java.lang.String |
Target.toString(Ability ability)
|
java.lang.String |
Sound.toString(Ability ability)
|
java.lang.String |
Repeat.toString(Ability ability)
return the string representation of this action |
java.lang.String |
RemoveObject.toString(Ability ability)
|
java.lang.String |
RemoveMe.toString(Ability ability)
|
java.lang.String |
RefreshModifier.toString(Ability ability)
|
java.lang.String |
PayMana.toString(Ability ability)
|
java.lang.String |
MoveObject.toString(Ability ability)
|
java.lang.String |
MoveCard.toString(Ability ability)
|
java.lang.String |
ModifyTargetableRegister.toString(Ability ability)
|
abstract java.lang.String |
ModifyRegister.toString(Ability ability)
|
abstract java.lang.String |
MAction.toString(Ability ability)
String representation of this action. |
java.lang.String |
InputChoice.toString(Ability ability)
|
java.lang.String |
Input.toString(Ability ability)
|
java.lang.String |
Hop.toString(Ability ability)
|
abstract java.lang.String |
GiveMana.toString(Ability ability)
|
java.lang.String |
DetachMe.toString(Ability ability)
|
java.lang.String |
AddModifierFromStaticModifier.toString(Ability ability)
return the string representation of this action |
Uses of Ability in net.sf.magicproject.action.context |
---|
Methods in net.sf.magicproject.action.context with parameters of type Ability | |
---|---|
void |
ActionContextWrapper.refreshText(Ability ability,
ContextEventListener context)
Refresh the text of associated action UI component. |
java.lang.String |
ActionContextWrapper.toHtmlString(Ability ability,
ContextEventListener context)
Return the HTML code representing this action. |
Uses of Ability in net.sf.magicproject.action.handler |
---|
Methods in net.sf.magicproject.action.handler with parameters of type Ability | |
---|---|
boolean |
ChoosenAction.choose(ActionContextWrapper actionContext,
ContextEventListener context,
Ability ability)
No generated event. |
void |
ChoosenAction.disactivate(ActionContextWrapper actionContext,
ContextEventListener context,
Ability ability)
No generated event. |
boolean |
InitAction.init(ActionContextWrapper actionContext,
ContextEventListener context,
Ability ability)
No generated event. |
boolean |
StandardAction.play(ContextEventListener context,
Ability ability)
Generate event associated to this action. |
boolean |
Replayable.replay(ActionContextWrapper actionContext,
ContextEventListener context,
Ability ability)
Generate event associated to this action. |
boolean |
InitAction.replay(ActionContextWrapper actionContext,
ContextEventListener context,
Ability ability)
Generate event associated to this action. |
boolean |
ChoosenAction.replay(ActionContextWrapper actionContext,
ContextEventListener context,
Ability ability)
Generate event associated to this action. |
void |
RollBackAction.rollback(ActionContextWrapper actionContext,
ContextEventListener context,
Ability ability)
No generated event. |
void |
FollowAction.rollback(ActionContextWrapper actionContext,
ContextEventListener context,
Ability ability)
No generated event. |
void |
FollowAction.simulate(ActionContextWrapper actionContext,
ContextEventListener context,
Ability ability)
No generated event. |
java.lang.String |
ChoosenAction.toHtmlString(Ability ability,
ContextEventListener context,
ActionContextWrapper actionContext)
Return the HTML code representing this action. |
Uses of Ability in net.sf.magicproject.action.intlist |
---|
Methods in net.sf.magicproject.action.intlist with parameters of type Ability | |
---|---|
abstract boolean |
IntList.play(ContextEventListener context,
Ability ability)
|
java.lang.String |
IntList.toHtmlString(Ability ability,
int times,
ContextEventListener context)
|
abstract java.lang.String |
IntList.toString(Ability ability)
|
Uses of Ability in net.sf.magicproject.action.listener |
---|
Methods in net.sf.magicproject.action.listener that return types with arguments of type Ability | |
---|---|
java.util.List<Ability> |
WaitingAbility.abilitiesOf(MCard card)
Return activated abilities of the specified card. |
java.util.List<Ability> |
WaitingAbility.advancedAbilitiesOf(MCard card)
Return activated advanced abilities of the specified card. |
Methods in net.sf.magicproject.action.listener with parameters of type Ability | |
---|---|
boolean |
WaitingAbility.clickOn(Ability ability)
Called to specify the triggered card chosen for the current action by the handed player |
boolean |
WaitingAbility.succeedClickOn(Ability ability)
This function should be called by the 'clickOn' caller in case of the specified ability has been handled during the checking validity of this click in the clickOn(Ability) function. |
Uses of Ability in net.sf.magicproject.action.objectmap |
---|
Methods in net.sf.magicproject.action.objectmap with parameters of type Ability | |
---|---|
abstract boolean |
ObjectMap.play(ContextEventListener context,
Ability ability)
|
java.lang.String |
ObjectMap.toHtmlString(Ability ability,
int times,
ContextEventListener context)
|
abstract java.lang.String |
ObjectMap.toString(Ability ability)
|
Uses of Ability in net.sf.magicproject.action.target |
---|
Methods in net.sf.magicproject.action.target with parameters of type Ability | |
---|---|
boolean |
ChoosenTarget.checkTarget(Ability ability,
int hopCounter)
Verify if this target action may cause abortion of the current ability. |
boolean |
RealTarget.choose(ActionContextWrapper actionContext,
ContextEventListener context,
Ability ability)
|
boolean |
ChoosenTarget.choose(ActionContextWrapper actionContext,
ContextEventListener context,
Ability ability)
|
boolean |
AbstractTarget.choose(ActionContextWrapper actionContext,
ContextEventListener context,
Ability ability)
|
void |
ChoosenTarget.disactivate(ActionContextWrapper actionContext,
ContextEventListener context,
Ability ability)
|
void |
AbstractTarget.disactivate(ActionContextWrapper actionContext,
ContextEventListener context,
Ability ability)
|
Targetable |
SingletonTarget.getAbstractTarget(ContextEventListener context,
Ability ability)
|
abstract Targetable |
AbstractTarget.getAbstractTarget(ContextEventListener context,
Ability ability)
Return the targetable added by this action. |
boolean |
ChoosenTarget.init(ActionContextWrapper actionContext,
ContextEventListener context,
Ability ability)
No generated event. |
boolean |
ChoosenTarget.play(ContextEventListener context,
Ability ability)
|
boolean |
AbstractTarget.play(ContextEventListener context,
Ability ability)
|
boolean |
ChoosenTarget.replay(ActionContextWrapper actionContext,
ContextEventListener context,
Ability ability)
|
boolean |
AbstractTarget.replay(ActionContextWrapper actionContext,
ContextEventListener context,
Ability ability)
|
void |
ChoosenTarget.rollback(ActionContextWrapper actionContext,
ContextEventListener context,
Ability ability)
|
void |
AbstractTarget.simulate(ActionContextWrapper actionContext,
ContextEventListener context,
Ability ability)
No generated event. |
java.lang.String |
SingletonTarget.toHtmlString(Ability ability,
ContextEventListener context)
|
java.lang.String |
ChoosenTarget.toHtmlString(Ability ability,
ContextEventListener context,
ActionContextWrapper actionContext)
|
java.lang.String |
AbstractTarget.toHtmlString(Ability ability,
ContextEventListener context,
ActionContextWrapper actionContext)
|
java.lang.String |
SingletonTarget.toString(Ability ability)
|
java.lang.String |
SilentTarget.toString(Ability ability)
|
java.lang.String |
RealTarget.toString(Ability ability)
|
java.lang.String |
ChoosenTarget.toString(Ability ability)
|
abstract java.lang.String |
AbstractTarget.toString(Ability ability)
|
Uses of Ability in net.sf.magicproject.action.targetlist |
---|
Methods in net.sf.magicproject.action.targetlist with parameters of type Ability | |
---|---|
abstract boolean |
TargetList.play(ContextEventListener context,
Ability ability)
|
java.lang.String |
TargetList.toHtmlString(Ability ability,
int times,
ContextEventListener context)
|
abstract java.lang.String |
TargetList.toString(Ability ability)
|
Uses of Ability in net.sf.magicproject.clickable.ability |
---|
Subclasses of Ability in net.sf.magicproject.clickable.ability | |
---|---|
class |
AbstractAbility
|
class |
ActivatedAbility
An ability that can be manually played. |
class |
ActivatedAbilityPlayer
An activited ability associated to a player. |
class |
DetachmentAbility
|
class |
ModifierRemover
|
class |
RefreshAbility
|
class |
RemoveModifier
|
class |
ReplacementAbility
TODO is it important to keep cost ? |
class |
SystemAbility
|
class |
TriggeredAbility
|
class |
TriggeredAbilitySet
|
class |
TriggeredStaticModifierAbility
|
class |
UserAbility
A non-abstract ability. |
Methods in net.sf.magicproject.clickable.ability that return Ability | |
---|---|
abstract Ability |
UserAbility.clone(MCard container)
|
Ability |
TriggeredAbilitySet.clone(MCard container)
|
Ability |
TriggeredAbility.clone(MCard container)
|
Ability |
ReplacementAbility.clone(MCard container)
|
Ability |
DetachmentAbility.clone(MCard container)
|
Ability |
ActivatedAbilityPlayer.clone(MCard container)
|
Ability |
ActivatedAbility.clone(MCard container)
|
Ability |
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 |
static Ability |
AbilityFactory.readAbility(java.io.InputStream inputFile,
MCard card)
Read and return the next ability from specified inputFile Structure of InputStream : Data[size] ability type [1] name name [String] ability tags [1] event [Event] cost [Action[]] effect [Action[]] |
Methods in net.sf.magicproject.clickable.ability with parameters of type Ability | |
---|---|
void |
Ability.addLinkedAbility(Ability ability)
Add a linked ability. |
boolean |
Optimization.addTo(Ability ability,
ContextEventListener context,
java.util.List<TriggeredCard> where)
Add the specified ability to the TBZ. |
boolean |
RemoveModifier.equals(ContextEventListener thisContext,
Ability ability,
ContextEventListener context)
|
boolean |
RefreshAbility.equals(ContextEventListener thisContext,
Ability ability,
ContextEventListener context)
|
boolean |
Ability.equals(ContextEventListener thisContext,
Ability ability,
ContextEventListener context)
Compare two abilities the specified ability to the TBZ. |
Constructor parameters in net.sf.magicproject.clickable.ability with type arguments of type Ability | |
---|---|
AbstractAbility(java.lang.String name,
MEventListener event,
java.lang.String pictureName,
java.util.List<Ability> linkedAbilities,
TrueFalseAuto playAsSpell)
Creates a new instance of AbstractAbility |
Uses of Ability in net.sf.magicproject.clickable.action |
---|
Methods in net.sf.magicproject.clickable.action with parameters of type Ability | |
---|---|
boolean |
ChoosenCostPanel.completeAction(Ability ability,
ContextEventListener context,
ActionContextWrapper actionContext)
Set the current ChoosenAction as completed. |
static java.lang.String |
ToStringHelper.toHtmlString(Ability ability,
ContextEventListener context)
Return the HTML code representing an action list. |
static java.lang.String |
ToStringHelper.toHtmlString(Ability ability,
MAction[] actions,
ContextEventListener context)
Return the HTML code representing an action list. |
static void |
ToStringHelper.toHtmlString(java.lang.StringBuilder buffer,
Ability ability,
MAction[] actions,
ContextEventListener context)
Return the HTML code representing an action list. |
static java.lang.String |
ToStringHelper.toString(Ability ability)
Return the toString() of the given ability. |
static void |
ToStringHelper.toString(java.lang.StringBuilder buffer,
Ability ability,
MAction[] actions)
Return the HTML code representing an action list. |
Uses of Ability in net.sf.magicproject.clickable.mana |
---|
Methods in net.sf.magicproject.clickable.mana with parameters of type Ability | |
---|---|
int |
ManaPool.allManas(Ability abilityRequest)
Return the ammount of mana in the mana pool |
int |
Mana.getMana(Ability abilityRequest)
return the amount of mana of this color |
int |
ManaPool.getMana(int idColor,
Ability abilityRequest)
Return the ammount of mana in the mana pool of one color |
int |
Mana.removeMana(int nb,
Ability abilityRequest)
Remove a number of mana of this color from the mana pool. |
int |
Mana.removeMana(int nb,
Ability abilityRequest,
ManaCost manaContext)
Remove a number of mana of this color from the mana pool. |
int |
ManaPool.removeMana(int idColor,
int idNumber,
Ability abilityRequest)
Remove a number of mana of one color |
Uses of Ability in net.sf.magicproject.clickable.targetable |
---|
Fields in net.sf.magicproject.clickable.targetable with type parameters of type Ability | |
---|---|
java.util.List<Ability> |
Targetable.cachedAbilities
The cached abilities of this component. |
Uses of Ability in net.sf.magicproject.clickable.targetable.card |
---|
Fields in net.sf.magicproject.clickable.targetable.card declared as Ability | |
---|---|
Ability |
TriggeredCard.triggeredAbility
Triggered ability |
Methods in net.sf.magicproject.clickable.targetable.card that return Ability | |
---|---|
Ability[] |
CardModelImpl.getAbilities()
|
Ability[] |
CardModel.getAbilities()
Return the list of actions when casting |
Ability |
TriggeredCard.getAbortingAbility()
|
Ability |
MCard.getDummyAbility()
Return a default ability associated to this card. |
Methods in net.sf.magicproject.clickable.targetable.card with parameters of type Ability | |
---|---|
void |
TriggeredCard.abortion(AbstractCard card,
Ability source)
|
void |
TriggeredCardChoice.addChoice(Ability ability,
ContextEventListener context)
Add an alternative ability to the associated triggered ability |
void |
Attachment.attach(ContextEventListener context,
Ability ability,
MCard from,
MCard to)
|
void |
TriggeredCard.checkAllCardsOf(Test test,
java.util.List<Targetable> list,
Ability ability)
|
void |
MCard.checkAllCardsOf(Test test,
java.util.List<Targetable> list,
Ability ability)
|
abstract void |
AbstractCard.checkAllCardsOf(Test test,
java.util.List<Targetable> list,
Ability ability)
Checks all cards corresponding to this constraints |
int |
TriggeredCard.countAllCardsOf(Test test,
Ability ability,
boolean canBePreempted)
|
int |
MCard.countAllCardsOf(Test test,
Ability ability,
boolean canBePreempted)
|
abstract int |
AbstractCard.countAllCardsOf(Test test,
Ability ability,
boolean canBePreempted)
Checks all cards corresponding to the specified constraints |
void |
TriggeredCardChoice.replayAction(ContextEventListener context,
Ability ability,
Wizard wizard)
Replay the current action as it was when it has been suspended. |
Method parameters in net.sf.magicproject.clickable.targetable.card with type arguments of type Ability | |
---|---|
void |
CardModelImpl.setAbilities(java.util.List<Ability> abilities)
|
Constructors in net.sf.magicproject.clickable.targetable.card with parameters of type Ability | |
---|---|
TriggeredCard(Ability triggeredAbility,
ContextEventListener context,
long abilityID)
|
|
TriggeredCardChoice(Ability triggeredAbility,
ContextEventListener context,
long abilityID)
|
Constructor parameters in net.sf.magicproject.clickable.targetable.card with type arguments of type Ability | |
---|---|
DelayedCard(TriggeredAbility ability,
java.util.List<Ability> abilities,
int[] registers,
Targetable saved,
Targetable saved2)
Creates a new instance of DelayedCard |
Uses of Ability in net.sf.magicproject.event |
---|
Fields in net.sf.magicproject.event with type parameters of type Ability | |
---|---|
static java.util.Map<Event,java.util.List<Ability>> |
MEventListener.TRIGGRED_ABILITIES
Represent all active triggered abilities of games for each event |
Methods in net.sf.magicproject.event with parameters of type Ability | |
---|---|
boolean |
UpdatedLife.isMatching(Ability ability)
Tell if the current event matches with this event. |
boolean |
CanICast.isMatching(Ability ability,
int idActivePlayer)
Tell if the current event matches with this event. |
boolean |
UpdateToughness.isMatching(Ability ability,
MCard toUpdate)
Tell if the current event matches with this event. |
boolean |
MovedCard.isMatching(Ability ability,
MCard movingCard)
Tell if the current event matches with this event. |
boolean |
ModifiedController.isMatching(Ability ability,
MCard movedCard)
Tell if the current event matches with this event. |
boolean |
LethalDamaged.isMatching(Ability ability,
MCard damaged)
Tell if the current event matches with this event. |
boolean |
FacedUp.isMatching(Ability ability,
MCard facedUpCard)
Tell if the current event matches with this event. |
boolean |
FacedDown.isMatching(Ability ability,
MCard facedDownCard)
Tell if the current event matches with this event. |
boolean |
DeclaredAttacking.isMatching(Ability ability,
MCard declaredCreature)
Tell if the current event matches with this event. |
boolean |
Casting.isMatching(Ability ability,
MCard castCard)
Tell if the current event matches with this event. |
boolean |
BecomeUnTapped.isMatching(Ability ability,
MCard tappedCard)
Tell if the current event matches with this event. |
boolean |
BecomeTapped.isMatching(Ability ability,
MCard tappedCard)
Tell if the current event matches with this event. |
boolean |
ModifiedIdColor.isMatching(Ability ability,
MCard modifiedCard,
int idColor)
Tell if the current event matches with this event. |
boolean |
ArrangedZone.isMatching(Ability ability,
MCard source,
int arrangedZone)
Tell if the current event matches with this event. |
boolean |
Detached.isMatching(Ability ability,
MCard detached,
MCard from)
Tell if the current event matches with this event. |
boolean |
DeclaredBlocking.isMatching(Ability ability,
MCard blockingCreature,
MCard blockedCreature)
Tell if the current event matches with this event. |
boolean |
AttachedEvent.isMatching(Ability ability,
MCard attached,
MCard by)
Tell if the current event matches with this event. |
boolean |
Targeted.isMatching(Ability ability,
MCard source,
Targetable target)
Tell if the current event matches with this event. |
boolean |
LoseGame.isMatching(Ability ability,
Player player)
Tell if the current event matches with this event. |
boolean |
UncaughtException.isMatching(Ability ability,
Player concernedPlayer,
java.lang.String exceptionName)
Tell if the current event matches with this event. |
boolean |
ModifiedPropertyIntersection.isMatching(Ability ability,
Targetable target,
int idType)
Tell if the current event matches with this event. |
boolean |
ModifiedProperty.isMatching(Ability ability,
Targetable target,
int idType)
Tell if the current event matches with this event. |
boolean |
ModifiedIdCard.isMatching(Ability ability,
Targetable target,
int idCard)
Tell if the current event matches with this event. |
boolean |
ModifiedRegisterRange.isMatching(Ability ability,
Targetable modified,
MCard source,
Operation op,
int register,
int index)
|
boolean |
AssignedDamage.isMatching(MCard source,
Targetable destination,
int damageNumber,
int damageType,
Ability ability)
Tell if the current event matches with this event. |
boolean |
CanICast.isMatchingManaAbility(Ability ability,
int idActivePlayer)
Tell if the current event matches with this event. |
boolean |
MovedCard.reCheck(ContextEventListener previousContext,
Ability ability)
|
boolean |
MEventListener.reCheck(ContextEventListener previousContext,
Ability ability)
Tell if the event still activated before to be added to the stack |
void |
TriggeredEvent.registerToManager(Ability ability)
|
void |
RegisterableEvent.registerToManager(Ability ability)
register this event to the event manager |
abstract void |
MEventListener.registerToManager(Ability ability)
|
void |
CanICast.registerToManager(Ability ability)
|
void |
TriggeredEvent.removeFromManager(Ability ability)
|
void |
RegisterableEvent.removeFromManager(Ability ability)
remove from the manager this event if doesn't match with the new context |
abstract void |
MEventListener.removeFromManager(Ability ability)
|
void |
CanICast.removeFromManager(Ability ability)
|
java.lang.String |
TriggeredEvent.toHtmlString(Ability ability,
ContextEventListener context)
|
java.lang.String |
MEventListener.toHtmlString(Ability ability,
ContextEventListener context)
Return the HTML code representing this ability. |
Method parameters in net.sf.magicproject.event with type arguments of type Ability | |
---|---|
static void |
CanICast.dispatchEvent(int idActivePlayer,
java.util.List<Ability> res,
java.util.List<Ability> advRes)
Dispatch this event to all active event listener able to understand this event. |
static void |
CanICast.dispatchEvent(int idActivePlayer,
java.util.List<Ability> res,
java.util.List<Ability> advRes)
Dispatch this event to all active event listener able to understand this event. |
static void |
CanICast.dispatchManaAbilityEvent(int idActivePlayer,
java.util.List<Ability> res)
Dispatch this event to all active event listener able to understand this event. |
Uses of Ability in net.sf.magicproject.event.phase |
---|
Methods in net.sf.magicproject.event.phase with parameters of type Ability | |
---|---|
java.lang.String |
EndOfPhase.toHtmlString(Ability ability,
ContextEventListener context)
|
java.lang.String |
BeginningPhase.toHtmlString(Ability ability,
ContextEventListener context)
|
java.lang.String |
BeforePhase.toHtmlString(Ability ability,
ContextEventListener context)
|
Uses of Ability in net.sf.magicproject.expression |
---|
Methods in net.sf.magicproject.expression with parameters of type Ability | |
---|---|
int[] |
ListExpression.getList(Ability ability,
Targetable tested,
ContextEventListener context)
Return the computed integer list. |
java.lang.Object |
ReferenceValue.getObject(Ability ability,
Targetable tested,
ContextEventListener context)
|
java.lang.Object |
ObjectValue.getObject(Ability ability,
Targetable tested,
ContextEventListener context)
|
java.lang.Object |
Expression.getObject(Ability ability,
Targetable tested,
ContextEventListener context)
Returns the object value of this expression. |
int |
RegisterAccess.getPreemptionValue(Ability ability,
Targetable tested)
Return the integer value of this expression exactly as it will be when the ability will be executed. |
int |
BaseRegisterIntValue.getPreemptionValue(Ability ability,
Targetable tested)
|
int |
IntValue.getPreemptionValue(Ability ability,
Targetable tested,
ContextEventListener context)
|
int |
Expression.getPreemptionValue(Ability ability,
Targetable tested,
ContextEventListener context)
Returns the integer value of this expression exactly as it will be when the ability will be executed. |
int |
UnaryExpression.getValue(Ability ability,
Targetable tested,
ContextEventListener context)
|
int |
ToIndex.getValue(Ability ability,
Targetable tested,
ContextEventListener context)
|
int |
ToCode.getValue(Ability ability,
Targetable tested,
ContextEventListener context)
|
int |
TestOn.getValue(Ability ability,
Targetable tested,
ContextEventListener context)
|
int |
StringMethod.getValue(Ability ability,
Targetable tested,
ContextEventListener context)
|
int |
RegisterAccess.getValue(Ability ability,
Targetable tested,
ContextEventListener context)
|
int |
ReferenceValue.getValue(Ability ability,
Targetable tested,
ContextEventListener context)
|
int |
Position.getValue(Ability ability,
Targetable tested,
ContextEventListener context)
|
int |
ObjectValue.getValue(Ability ability,
Targetable tested,
ContextEventListener context)
|
int |
ManaPaid.getValue(Ability ability,
Targetable tested,
ContextEventListener context)
|
int |
LowestAmong.getValue(Ability ability,
Targetable tested,
ContextEventListener context)
|
int |
IntValue.getValue(Ability ability,
Targetable tested,
ContextEventListener context)
|
int |
IfThenElse.getValue(Ability ability,
Targetable tested,
ContextEventListener context)
|
int |
HighestAmong.getValue(Ability ability,
Targetable tested,
ContextEventListener context)
|
abstract int |
Expression.getValue(Ability ability,
Targetable tested,
ContextEventListener context)
Returns the integer value of this expression |
int |
DeckCounter.getValue(Ability ability,
Targetable tested,
ContextEventListener context)
|
int |
Counter.getValue(Ability ability,
Targetable tested,
ContextEventListener context)
|
int |
CardTypes.getValue(Ability ability,
Targetable tested,
ContextEventListener context)
|
int |
CardColors.getValue(Ability ability,
Targetable tested,
ContextEventListener context)
|
int |
BitCount.getValue(Ability ability,
Targetable tested,
ContextEventListener context)
|
int |
BinaryExpression.getValue(Ability ability,
Targetable tested,
ContextEventListener context)
|
int |
BaseRegisterIntValue.getValue(Ability ability,
Targetable tested,
ContextEventListener context)
|
int |
AbstractValue.getValue(Ability ability,
Targetable tested,
ContextEventListener context)
|
Uses of Ability in net.sf.magicproject.expression.intlist |
---|
Methods in net.sf.magicproject.expression.intlist with parameters of type Ability | |
---|---|
int |
Sum.getValue(Ability ability,
Targetable tested,
ContextEventListener context)
|
int |
Size.getValue(Ability ability,
Targetable tested,
ContextEventListener context)
|
int |
Minimum.getValue(Ability ability,
Targetable tested,
ContextEventListener context)
|
int |
Maximum.getValue(Ability ability,
Targetable tested,
ContextEventListener context)
|
int |
LastIndexOf.getValue(Ability ability,
Targetable tested,
ContextEventListener context)
|
int |
Last.getValue(Ability ability,
Targetable tested,
ContextEventListener context)
|
int |
IndexOf.getValue(Ability ability,
Targetable tested,
ContextEventListener context)
|
int |
First.getValue(Ability ability,
Targetable tested,
ContextEventListener context)
|
int |
Counter.getValue(Ability ability,
Targetable tested,
ContextEventListener context)
|
Uses of Ability in net.sf.magicproject.expression.targetlist |
---|
Methods in net.sf.magicproject.expression.targetlist with parameters of type Ability | |
---|---|
int |
Size.getValue(Ability ability,
Targetable tested,
ContextEventListener context)
|
int |
LastIndexOf.getValue(Ability ability,
Targetable tested,
ContextEventListener context)
|
int |
IndexOfSavedList.getValue(Ability ability,
Targetable tested,
ContextEventListener context)
|
int |
IndexOf.getValue(Ability ability,
Targetable tested,
ContextEventListener context)
|
int |
Counter.getValue(Ability ability,
Targetable tested,
ContextEventListener context)
|
Uses of Ability in net.sf.magicproject.modifier |
---|
Methods in net.sf.magicproject.modifier with parameters of type Ability | |
---|---|
void |
StaticModifierModel.addModifierFromModel(Ability ability,
MCard target)
|
void |
RegisterModifierModel.addModifierFromModel(Ability ability,
MCard target)
|
void |
RegisterIndirectionModel.addModifierFromModel(Ability ability,
MCard target)
|
void |
PropertyModifierModel.addModifierFromModel(Ability ability,
MCard target)
|
void |
PlayableZoneModifierModel.addModifierFromModel(Ability ability,
MCard target)
|
void |
ObjectModifierModel.addModifierFromModel(Ability ability,
MCard target)
Create modifier(s) on the specified target. |
void |
ObjectAbilityModifierModel.addModifierFromModel(Ability ability,
MCard target)
|
abstract void |
ModifierModel.addModifierFromModel(Ability ability,
MCard target)
Create modifier(s) on the specified target. |
void |
IdCardModifierModel.addModifierFromModel(Ability ability,
MCard target)
|
void |
ControllerModifierModel.addModifierFromModel(Ability ability,
MCard target)
|
void |
ColorModifierModel.addModifierFromModel(Ability ability,
MCard target)
|
void |
AdditionalCostModifierModel.addModifierFromModel(Ability ability,
MCard target)
|
void |
AbilityModifierModel.addModifierFromModel(Ability ability,
MCard target)
|
void |
StaticModifierModel.addStaticModifierFromModel(Ability ability)
|
void |
ModifierModel.addStaticModifierFromModel(Ability ability)
Add all static modifiers. |
java.lang.String |
StaticModifierModel.toHtmlString(Ability ability,
ContextEventListener context)
|
java.lang.String |
RegisterModifierModel.toHtmlString(Ability ability,
ContextEventListener context)
|
java.lang.String |
RegisterIndirectionModel.toHtmlString(Ability ability,
ContextEventListener context)
|
java.lang.String |
PropertyModifierModel.toHtmlString(Ability ability,
ContextEventListener context)
|
java.lang.String |
PlayableZoneModifierModel.toHtmlString(Ability ability,
ContextEventListener context)
|
abstract java.lang.String |
ModifierModel.toHtmlString(Ability ability,
ContextEventListener context)
Return the HTML code representing this action. |
java.lang.String |
IdCardModifierModel.toHtmlString(Ability ability,
ContextEventListener context)
|
java.lang.String |
ControllerModifierModel.toHtmlString(Ability ability,
ContextEventListener context)
|
java.lang.String |
ColorModifierModel.toHtmlString(Ability ability,
ContextEventListener context)
|
java.lang.String |
AdditionalCostModifierModel.toHtmlString(Ability ability,
ContextEventListener context)
|
java.lang.String |
AbilityModifierModel.toHtmlString(Ability ability,
ContextEventListener context)
|
java.lang.String |
RegisterIndirectionModel.toHtmlString(Ability ability,
ContextEventListener context,
RegisterIndirectionModel other)
Return the HTML code representing this action. |
java.lang.String |
RegisterModifierModel.toHtmlString(Ability ability,
ContextEventListener context,
RegisterModifierModel other)
Return the HTML code representing this action. |
Method parameters in net.sf.magicproject.modifier with type arguments of type Ability | |
---|---|
void |
AbilityModifier.calculateDeltaAbilities(java.util.List<Ability> toAdd)
Add/ remove ability of attached object |
Uses of Ability in net.sf.magicproject.stack |
---|
Fields in net.sf.magicproject.stack declared as Ability | |
---|---|
static Ability |
StackManager.currentAbility
the current ability in the stack |
Ability |
ActionManager.currentAbility
the current ability in the stack |
Ability |
TargetedList.source
Source of this target spell/ability |
Fields in net.sf.magicproject.stack with type parameters of type Ability | |
---|---|
java.util.List<Ability> |
ActivatedChoice.abilities
contains UserAbility items concerned by the current idEvent |
Methods in net.sf.magicproject.stack that return Ability | |
---|---|
static Ability |
StackManager.getAbilityOf(MCard card)
The ability corresponding to the specified card |
Ability |
StackManager.getAbortingAbility()
|
Ability |
StackContext.getAbortingAbility()
Return the ability causing the abortion of this ability. |
Methods in net.sf.magicproject.stack that return types with arguments of type Ability | |
---|---|
java.util.List<Ability> |
ActivatedChoiceList.abilitiesOf(Targetable targetable)
return the list of playable abilities of this card |
java.util.List<Ability> |
ActivatedChoiceList.advancedAbilitiesOf(Targetable targetable)
return the list of playable advanced abilities of this card |
Methods in net.sf.magicproject.stack with parameters of type Ability | |
---|---|
void |
StackManager.abortion(AbstractCard card,
Ability source)
|
void |
StackContext.abortion(AbstractCard card,
Ability source)
Remove the specified card from the stack. |
void |
ActivatedChoice.addAbility(Ability ability)
add an ability to the list of abilities of this choice |
boolean |
TargetHelper.checkTarget(Ability ability,
MCard source,
Test test,
int type,
int choiceMode,
ContextEventListener context,
int restrictionZone,
int hopCounter,
boolean canBePreempted)
Return true when there is the required amount of valid
targets. |
boolean |
ActionManager.clickOn(Ability ability)
Called to specify the player choice for the current action |
MAction[] |
StackManager.getAdditionalCost(Ability ability)
Returns the additional cost can be applied to the given ability. |
static Targetable |
StackManager.getSaved(Ability ability)
Return the targetable saved into the specified ability |
static void |
StackManager.newSpell(Ability ability,
boolean advancedMode)
Add a spell/activated ability to the stack |
int |
TargetedList.recheckList(Ability ability)
Recheck the whole list of targets added with raised event. |
void |
ActionManager.succeedClickOn(Ability ability)
This function should be called by the 'clickOn' caller in case of the specified ability has been handled during the checking validity of this click in the clickOn(Ability) function. |
java.lang.String |
AdditionalCost.toHtmlString(Ability ability,
ContextEventListener context)
Return the HTML code representing this additionnal cost. |
Constructors in net.sf.magicproject.stack with parameters of type Ability | |
---|---|
ActivatedChoice(Ability ability)
creates a new instance of MChoice with a specified ability. |
|
TargetedList(Ability source)
Creates a new instance of MTargetedList |
Constructor parameters in net.sf.magicproject.stack with type arguments of type Ability | |
---|---|
ActivatedChoiceList(java.util.List<Ability> abilityList,
java.util.List<Ability> advancedList)
Creates a new instance of MChoiceList with the specified playable spells/abilities. |
|
ActivatedChoiceList(java.util.List<Ability> abilityList,
java.util.List<Ability> advancedList)
Creates a new instance of MChoiceList with the specified playable spells/abilities. |
Uses of Ability in net.sf.magicproject.test |
---|
Methods in net.sf.magicproject.test with parameters of type Ability | |
---|---|
MCard |
TestOn.getCard(Ability ability,
ContextEventListener context,
Targetable tested)
Return the targetable instance cast in Card instance. |
MCard |
TestOn.getCard(Ability ability,
Targetable tested)
Return the targetable instance cast in Card instance. |
Player |
Test.getOptimizedController(Ability ability,
ContextEventListener context)
Return the controller making true this test. |
Player |
And.getOptimizedController(Ability ability,
ContextEventListener context)
|
Player |
TestOn.getPlayer(Ability ability,
ContextEventListener context,
Targetable tested)
Return the targetable on which the test would be applied |
Player |
TestOn.getPlayer(Ability ability,
Targetable tested)
Return the targetable on which the test would be applied |
int |
TestOn.getPreemptedValue(Ability ability,
int index)
Return the value corresponding to the true register index exactly as it will be when the ability will be executed. return the real number of a specifid idNumber. |
Targetable |
TestOn.getTargetable(Ability ability,
ContextEventListener context,
Targetable tested)
Return the targetable on which the test would be applied |
Targetable |
TestOn.getTargetable(Ability ability,
MCard card,
ContextEventListener context,
Targetable tested)
Return the targetable on which the test would be applied |
Targetable |
TestOn.getTargetable(Ability ability,
Targetable tested)
Return the targetable on which the test would be applied |
boolean |
Xor.test(Ability ability,
Targetable tested)
|
boolean |
ValidTargetAttachment.test(Ability ability,
Targetable tested)
|
boolean |
ValidAttachment.test(Ability ability,
Targetable tested)
|
boolean |
True.test(Ability ability,
Targetable tested)
|
abstract boolean |
TestObject.test(Ability ability,
Targetable tested)
|
abstract boolean |
TestExpr.test(Ability ability,
Targetable tested)
|
boolean |
TestCard.test(Ability ability,
Targetable tested)
|
abstract boolean |
TestBoolean.test(Ability ability,
Targetable tested)
|
abstract boolean |
Test.test(Ability ability,
Targetable tested)
Indicates if the specified card matches with the test to do |
boolean |
SupEqual.test(Ability ability,
Targetable tested)
|
boolean |
Sup.test(Ability ability,
Targetable tested)
|
boolean |
ReplaceTested.test(Ability ability,
Targetable tested)
|
boolean |
Or.test(Ability ability,
Targetable tested)
|
boolean |
Not.test(Ability ability,
Targetable tested)
|
boolean |
IsSpell.test(Ability ability,
Targetable tested)
|
boolean |
IsPlayer.test(Ability ability,
Targetable tested)
|
boolean |
IsAbility.test(Ability ability,
Targetable tested)
|
boolean |
InfEqual.test(Ability ability,
Targetable tested)
|
boolean |
Inf.test(Ability ability,
Targetable tested)
|
boolean |
Has.test(Ability ability,
Targetable tested)
|
boolean |
False.test(Ability ability,
Targetable tested)
|
boolean |
Equal.test(Ability ability,
Targetable tested)
|
boolean |
Different.test(Ability ability,
Targetable tested)
|
boolean |
DeckCounter.test(Ability ability,
Targetable tested)
|
boolean |
ContextTest.test(Ability ability,
Targetable tested)
|
abstract boolean |
BinaryTest.test(Ability ability,
Targetable tested)
|
boolean |
And.test(Ability ability,
Targetable tested)
|
boolean |
ActionSource.test(Ability ability,
Targetable tested)
|
boolean |
AbilitySource.test(Ability ability,
Targetable tested)
|
boolean |
AbilityIs.test(Ability ability,
Targetable tested)
|
boolean |
PreviousZone.testCard(Ability ability,
MCard tested)
|
boolean |
IsTested.testCard(Ability ability,
MCard tested)
|
boolean |
IsFaceUp.testCard(Ability ability,
MCard tested)
|
boolean |
IsCopy.testCard(Ability ability,
MCard tested)
|
boolean |
IsAborting.testCard(Ability ability,
MCard tested)
|
boolean |
InZone.testCard(Ability ability,
MCard tested)
|
boolean |
Xor.testPreemption(Ability ability,
Targetable tested)
|
boolean |
TestExpr.testPreemption(Ability ability,
Targetable tested)
|
boolean |
Test.testPreemption(Ability ability,
Targetable tested)
Indicates if the specified card matches with the test to do. |
boolean |
Or.testPreemption(Ability ability,
Targetable tested)
|
boolean |
Not.testPreemption(Ability ability,
Targetable tested)
|
boolean |
Has.testPreemption(Ability ability,
Targetable tested)
|
abstract boolean |
BinaryTest.testPreemption(Ability ability,
Targetable tested)
|
boolean |
And.testPreemption(Ability ability,
Targetable tested)
|
java.lang.String |
TestOn.toHtmlString(Ability ability,
ContextEventListener context)
Return the HTML code representing this action. |
Uses of Ability in net.sf.magicproject.token |
---|
Methods in net.sf.magicproject.token with parameters of type Ability | |
---|---|
int |
AbstractValue.getValue(Ability ability,
MCard card,
ContextEventListener context,
Targetable tested)
Return the targetable on which the test would be applied |
int |
Register.getValue(Ability ability,
Targetable tested,
ContextEventListener context,
int index)
Returns the integer value of this expression |
Uses of Ability in net.sf.magicproject.ui.component |
---|
Methods in net.sf.magicproject.ui.component with parameters of type Ability | |
---|---|
void |
MessageButton.startButton(ContextEventListener context,
Ability ability,
BackgroundMessaging action,
Wizard wizard)
Show the button enabling to restore the background wizard. |
Uses of Ability in net.sf.magicproject.ui.wizard |
---|
Constructors in net.sf.magicproject.ui.wizard with parameters of type Ability | |
---|---|
Choice(ContextEventListener context,
Ability ability,
BackgroundMessaging action,
boolean allowCancel,
java.util.List<java.lang.String> actions)
Creates a new instance of Choice |
|
InputColor(ContextEventListener context,
Ability ability,
MessagingAction action,
java.lang.String description,
int allowedColors,
boolean allowColorless,
boolean multiselect)
Creates a new instance of this class |
|
InputNumber(ContextEventListener context,
Ability ability,
MessagingAction action,
java.lang.String description,
int min,
int max,
boolean allowCancel,
int defaultValue,
boolean strictMax)
Creates a new instance of MInputIntegerFrame |
|
InputProperty(ContextEventListener context,
Ability ability,
MessagingAction action,
java.lang.String description,
int[] allowedProperties)
Creates a new instance of InputProperty |
|
InputZone(ContextEventListener context,
Ability ability,
MessagingAction action,
java.lang.String description,
int[] allowedZones)
Creates a new instance of InputZone |
|
Ok(ContextEventListener context,
Ability ability,
BackgroundMessaging action,
java.lang.String title,
java.lang.String description,
java.lang.String iconName,
int width,
int height,
java.lang.String text)
Creates a new instance of Ok |
|
Ok(ContextEventListener context,
Ability ability,
BackgroundMessaging action,
java.lang.String title,
java.lang.String description,
java.lang.String iconName,
java.lang.String button,
int width,
int height)
Creates a new instance of Ok |
|
Wizard(ContextEventListener context,
Ability ability,
BackgroundMessaging action,
java.lang.String title,
java.lang.String description,
java.lang.String iconName,
int width,
int height)
Create a new instance of this class. |
|
YesNo(ContextEventListener context,
Ability ability,
BackgroundMessaging action,
java.lang.String title,
java.lang.String description,
java.lang.String iconName,
java.lang.String yesButton,
java.lang.String noButton,
int width,
int height)
Create a new instance of this class. |
|
YesNo(ContextEventListener context,
Ability ability,
MessagingAction action,
java.lang.String title,
java.lang.String description,
java.lang.String iconName,
int width,
int height)
Create a new instance of this class. |
|
YesNo(ContextEventListener context,
Ability ability,
MessagingAction action,
java.lang.String title,
java.lang.String description,
java.lang.String iconName,
int width,
int height,
java.lang.String text)
Create a new instance of this class. |
Uses of Ability in net.sf.magicproject.zone |
---|
Methods in net.sf.magicproject.zone with parameters of type Ability | |
---|---|
void |
TriggeredBuffer.addHidden(Ability ability,
ContextEventListener context)
Add the given ability to the special zone 'abstract triggered'. |
void |
ZoneManager.checkAllCardsOf(Test test,
java.util.List<Targetable> list,
Ability ability)
Checks all cards corresponding to this constraints |
void |
MZone.checkAllCardsOf(Test test,
java.util.List<Targetable> list,
Ability ability)
Checks all cards corresponding to this constraints |
int |
ZoneManager.countAllCardsOf(Test test,
Ability ability)
Checks all cards corresponding to the specified constraints |
int |
MZone.countAllCardsOf(Test test,
Ability ability)
Checks all cards corresponding to the specified constraints including attached cards. |
int |
ZoneManager.countAllCardsOf(Test test,
Ability ability,
int limit,
boolean canBePreempted)
Checks all cards corresponding to the specified constraints. |
int |
MZone.countAllCardsOf(Test test,
Ability ability,
int limit,
boolean canBePreempted)
Checks all cards corresponding to the specified constraints including attached cards. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |