net.sf.magicproject.stack
Class TargetManager
java.lang.Object
net.sf.magicproject.stack.TargetManager
public class TargetManager
- extends java.lang.Object
Represents the target settings as color, id card, owner, ... of the target.
Before a target will be added to the targeted list, this test is verified in
order to valid the target.
- Since:
- 0.86 new algorythme to determine valid targets, 0.86 a target cannot be added twice in the target-list
- Author:
- Fabrice Daugan
- See Also:
Actiontype
Method Summary |
void |
clearTarget()
Indicates that we're no longer looking for a target |
void |
manageTargets(java.util.List<Targetable> validTargets)
Highlight the given targets and the corresponding zones. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TargetManager
public TargetManager()
manageTargets
public void manageTargets(java.util.List<Targetable> validTargets)
- Highlight the given targets and the corresponding zones.
- Parameters:
validTargets
- the valid targets.
clearTarget
public void clearTarget()
- Indicates that we're no longer looking for a target
Copyright © 2003-2007 Magic-Project. All Rights Reserved.