com.anji.floatingeye
Interface AffinityListener

All Known Implementing Classes:
CompositeAffinityListener, FloatingEyeDisplay, LastAffinityListener, MaxAffinityListener, WeightedAffinityListener

public interface AffinityListener

Author:
Philip Tucker

Method Summary
 void reset()
          reset affinity history
 void updateAffinity(IntLocation2D pos, double value)
          current affinity while eye is at position pos is value affinity should be between 0.0 and 1.0 inclusive
 

Method Detail

updateAffinity

public void updateAffinity(IntLocation2D pos,
                           double value)
current affinity while eye is at position pos is value affinity should be between 0.0 and 1.0 inclusive

Parameters:
pos -
value -

reset

public void reset()
reset affinity history