|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ObjectModifierModel
Method Summary | |
---|---|
void |
addModifierFromModel(Ability ability,
MCard target)
Create modifier(s) on the specified target. |
java.lang.Object |
clone()
Creates and returns a copy of this object. |
int |
getNbObject(MCard card,
Test objectTest)
Return occurences number of the given object with the given name. |
java.lang.String |
getObjectName()
Return the object name |
void |
removeObject(MCard fromCard,
Test objectTest)
Remove one instance of this object from the given card. |
Method Detail |
---|
void addModifierFromModel(Ability ability, MCard target)
ability
- is the ability owning causin the creation of this modifier. The
card component of this ability should correspond to the card
owning this test too.target
- is the card this new modifier would be attached to.java.lang.Object clone()
Cloneable
void removeObject(MCard fromCard, Test objectTest)
fromCard
- objectTest
- The test applied on specific modifier to be removed.java.lang.String getObjectName()
int getNbObject(MCard card, Test objectTest)
card
- the card on which objects will be counted.objectTest
- The test applied on specific modifier to be removed.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |