net.sf.magicproject.stack
Class TargetManager

java.lang.Object
  extended by 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

Constructor Summary
TargetManager()
           
 
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
 

Constructor Detail

TargetManager

public TargetManager()
Method Detail

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.