|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.magicproject.modifier.Modifier net.sf.magicproject.modifier.AbilityModifier
public class AbilityModifier
Field Summary |
---|
Fields inherited from class net.sf.magicproject.modifier.Modifier |
---|
layer, next |
Method Summary | |
---|---|
void |
calculateDeltaAbilities(java.util.List<Ability> toAdd)
Add/ remove ability of attached object |
void |
refresh()
Refresh this modifier following the whileCondition. |
void |
removeFromManager()
Remove from the event manager this listener. |
Modifier |
removeModifier(Modifier modifier)
remove from the manager a modifier |
Methods inherited from class net.sf.magicproject.modifier.Modifier |
---|
addModifier, getCard, getNbObjects, paintObject, removeObject, toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public Modifier removeModifier(Modifier modifier)
Modifier
modifier
- the modifier to remove
public final void removeFromManager()
Unregisterable
removeFromManager
in interface Unregisterable
removeFromManager
in class Modifier
public void refresh()
Modifier
refresh
in class Modifier
public void calculateDeltaAbilities(java.util.List<Ability> toAdd)
toAdd
- list of abilities attached to the object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |