nl.tudelft.goal.ut2004.selector
Class NearestFriendly

Package class diagram package NearestFriendly
java.lang.Object
  extended by nl.tudelft.goal.ut2004.selector.ContextSelector
      extended by nl.tudelft.goal.ut2004.selector.NearestFriendly
All Implemented Interfaces:
nl.tudelft.goal.unreal.util.Selector<cz.cuni.amis.pogamut.base3d.worldview.object.ILocated>

public final class NearestFriendly
extends ContextSelector

Selects the closest friendly Player.

Author:
mpkorstanje

Field Summary
 
Fields inherited from class nl.tudelft.goal.ut2004.selector.ContextSelector
modules
 
Constructor Summary
NearestFriendly()
           
 
Method Summary
 cz.cuni.amis.pogamut.base3d.worldview.object.ILocated select(Collection<? extends cz.cuni.amis.pogamut.base3d.worldview.object.ILocated> targets)
           
 String toString()
           
 
Methods inherited from class nl.tudelft.goal.ut2004.selector.ContextSelector
setContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NearestFriendly

public NearestFriendly()
Method Detail

toString

public String toString()
Overrides:
toString in class Object

select

public cz.cuni.amis.pogamut.base3d.worldview.object.ILocated select(Collection<? extends cz.cuni.amis.pogamut.base3d.worldview.object.ILocated> targets)


Copyright © 2013 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.