|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.magicproject.stack.ActivatedChoice
public class ActivatedChoice
MChoice.java Created on 27 octobre 2002, 12:15
| Field Summary | |
|---|---|
java.util.List<Ability> |
abilities
contains UserAbility items concerned by the current idEvent |
| Constructor Summary | |
|---|---|
ActivatedChoice(Ability ability)
creates a new instance of MChoice with a specified ability. |
|
| Method Summary | |
|---|---|
void |
addAbility(Ability ability)
add an ability to the list of abilities of this choice |
void |
clear()
remove all abilities activated for this card |
void |
disHighLight()
dishighlight the card containing the abilities of this choice |
MCard |
getCard()
return the card owning these activated abilities |
void |
highLight(boolean... highlightedZone)
highlight the card containing the abilities of this choice. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public java.util.List<Ability> abilities
| Constructor Detail |
|---|
public ActivatedChoice(Ability ability)
ability - is the first ability of this choiceaddAbility(Ability)| Method Detail |
|---|
public MCard getCard()
public void highLight(boolean... highlightedZone)
highlightedZone - the set of highlighted zone.public void disHighLight()
public void addAbility(Ability ability)
ability - is the ability to add to this choicepublic void clear()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||