|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.magicproject.modifier.ModifierModel net.sf.magicproject.modifier.PropertyModifierModel
public class PropertyModifierModel
Method Summary | |
---|---|
void |
addModifierFromModel(Ability ability,
MCard target)
Create modifier(s) on the specified target. |
PropertyModifierModel |
clone()
|
java.lang.String |
toHtmlString(Ability ability,
ContextEventListener context)
Return the HTML code representing this action. |
Methods inherited from class net.sf.magicproject.modifier.ModifierModel |
---|
addModel, addStaticModifierFromModel, removeObject |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public void addModifierFromModel(Ability ability, MCard target)
ModifierModel
addModifierFromModel
in class ModifierModel
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.public PropertyModifierModel clone()
clone
in class ModifierModel
public java.lang.String toHtmlString(Ability ability, ContextEventListener context)
ModifierModel
toHtmlString
in class ModifierModel
ability
- is the ability owning this test. The card component of this
ability should correspond to the card owning this test too.context
- the context needed by event activated
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |