nl.tudelft.goal.ut2004.selector
Class NearestEnemy

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

public class NearestEnemy
extends ContextSelector

Selects the closest enemy Player.

Author:
mpkorstanje

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

NearestEnemy

public NearestEnemy()
Method Detail

select

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

toString

public String toString()
Overrides:
toString in class Object


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