|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.magicproject.modifier.Modifier
net.sf.magicproject.modifier.PlayableZoneModifier
public class PlayableZoneModifier
| Field Summary |
|---|
| Fields inherited from class net.sf.magicproject.modifier.Modifier |
|---|
layer, next |
| Method Summary | |
|---|---|
boolean |
playableIn(int idZone,
boolean found)
Indicates if this modifier allow the specified zone |
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 boolean playableIn(int idZone,
boolean found)
idZone - The previous idCard.found - indicates that this zone has been previously allowed
public Modifier removeModifier(Modifier modifier)
Modifier
modifier - the modifier to remove
public final void removeFromManager()
Unregisterable
removeFromManager in interface UnregisterableremoveFromManager in class Modifierpublic void refresh()
Modifier
refresh in class Modifier
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||