|
||||||||||
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.PropertyModifier
public class PropertyModifier
Field Summary |
---|
Fields inherited from class net.sf.magicproject.modifier.Modifier |
---|
layer, next |
Method Summary | |
---|---|
void |
fillProperties(java.util.Set<java.lang.Integer> workSet)
Add/remove the specified set by the manipulated propoerties of this modifier. |
boolean |
hasProperty(int propertyId,
boolean found)
Tells if this modifier add/remove the given property. |
boolean |
hasPropertyNotFromCreator(int propertyId,
boolean found,
MCard creator)
Tells if this modifier add/remove the given property ignoring these given by the specified card creator . |
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 boolean hasProperty(int propertyId, boolean found)
propertyId
- the matched propertyfound
- indicates that the property has been previously found.
public boolean hasPropertyNotFromCreator(int propertyId, boolean found, MCard creator)
creator
.
propertyId
- the matched propertyfound
- indicates that the property has been previously foundcreator
- is the card created modifiers would be ignored
creator
.public void fillProperties(java.util.Set<java.lang.Integer> workSet)
workSet
- the set of properties already foundpublic void refresh()
Modifier
refresh
in class Modifier
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |