|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.magicproject.stack.ActivatedChoiceList
public class ActivatedChoiceList
This class is representing all abilities activated for an event. This abilities are grouped by cards.
Constructor Summary | |
---|---|
ActivatedChoiceList(java.util.List<Ability> abilityList,
java.util.List<Ability> advancedList)
Creates a new instance of MChoiceList with the specified playable spells/abilities. |
Method Summary | |
---|---|
java.util.List<Ability> |
abilitiesOf(Targetable targetable)
return the list of playable abilities of this card |
java.util.List<Ability> |
advancedAbilitiesOf(Targetable targetable)
return the list of playable advanced abilities of this card |
void |
clear()
remove all choices from the list |
void |
disHighLight()
Dishightlight all cards containing any ability of this list. |
java.util.List<MZone> |
highLight()
Hightlight all cards containing any ability of this list. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ActivatedChoiceList(java.util.List<Ability> abilityList, java.util.List<Ability> advancedList)
abilityList
- is the specified playable spells/abilitiesadvancedList
- is the specified playable advanced spells/abilitiesMethod Detail |
---|
public void clear()
public java.util.List<Ability> abilitiesOf(Targetable targetable)
targetable
- the card shearching it's playable abilities
public java.util.List<Ability> advancedAbilitiesOf(Targetable targetable)
targetable
- the card shearching it's playable abilities
public java.util.List<MZone> highLight()
public void disHighLight()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |