nl.tudelft.goal.ut2004.selector
Class ClosestEnemy

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

public class ClosestEnemy
extends ContextSelector

Selects the closest enemy Player.

Author:
mpkorstanje

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

ClosestEnemy

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