net.sf.magicproject.clickable.ability
Class TriggeredAbilitySet

java.lang.Object
  extended by net.sf.magicproject.clickable.ability.Ability
      extended by net.sf.magicproject.clickable.ability.UserAbility
          extended by net.sf.magicproject.clickable.ability.TriggeredAbility
              extended by net.sf.magicproject.clickable.ability.TriggeredAbilitySet
All Implemented Interfaces:
Unregisterable, ResolveStackHandler

public class TriggeredAbilitySet
extends TriggeredAbility

Since:
0.93
Author:
Fabrice Daugan

Field Summary
 
Fields inherited from class net.sf.magicproject.clickable.ability.Ability
optimizer, priority
 
Constructor Summary
TriggeredAbilitySet(java.io.InputStream inputFile, MCard card)
          Create a new instance of this class.
 
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
 
Methods inherited from class net.sf.magicproject.clickable.ability.TriggeredAbility
getAbilityTitle, getDelayedCard, getLog, isDelayedAbility, isMatching, removeFromManager, setDelayedCard, toHtmlString
 
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
 

Constructor Detail

TriggeredAbilitySet

public TriggeredAbilitySet(java.io.InputStream inputFile,
                           MCard card)
                    throws java.io.IOException
Create a new instance of this class.

Parameters:
inputFile - file containing this ability
card - referenced card
Throws:
java.io.IOException - if error occurred during the reading process from the specified input stream
Method Detail

clone

public Ability clone(MCard container)
Description copied from class: Ability
return a copy of this ability
TODO remove param container since it is not used in this constructor As default, return null

Overrides:
clone in class TriggeredAbility
Parameters:
container - is not used here
Returns:
copy of this ability


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