|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.magicproject.clickable.targetable.card.Attachment
public class Attachment
| Method Summary | |
|---|---|
void |
attach(ContextEventListener context,
Ability ability,
MCard from,
MCard to)
|
ModifierModel[] |
getModifiers()
Returns the modifiers brought by this attachment. |
Test |
getValidAttachment()
Returns the test maintening the attachment with another component. |
Test |
getValidTarget()
Returns the initial test making valid the attachment with another component. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public ModifierModel[] getModifiers()
public Test getValidTarget()
public Test getValidAttachment()
public void attach(ContextEventListener context,
Ability ability,
MCard from,
MCard to)
context - the context of playing ability.ability - the playing ability.from - the card to attach.to - the attchment destination.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||