nl.tudelft.goal.ut2004.selector
Class ClosestFriendly

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

public final class ClosestFriendly
extends ContextSelector

Selects the closest friendly Player.

Author:
mpkorstanje

Field Summary
 
Fields inherited from class nl.tudelft.goal.ut2004.selector.ContextSelector
modules
 
Constructor Summary
ClosestFriendly()
           
 
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

ClosestFriendly

public ClosestFriendly()
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 © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.