com.threerings.tudey.server.logic
Class TargetLogic.NearestSubset

java.lang.Object
  extended by com.threerings.util.ShallowObject
      extended by com.threerings.tudey.server.logic.Logic
          extended by com.threerings.tudey.server.logic.TargetLogic
              extended by com.threerings.tudey.server.logic.TargetLogic.Subset
                  extended by com.threerings.tudey.server.logic.TargetLogic.DistanceSubset
                      extended by com.threerings.tudey.server.logic.TargetLogic.NearestSubset
All Implemented Interfaces:
Comparator<Logic>
Enclosing class:
TargetLogic

public static class TargetLogic.NearestSubset
extends TargetLogic.DistanceSubset

Limits targets to the nearest subset.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.threerings.tudey.server.logic.TargetLogic
TargetLogic.Activator, TargetLogic.Behavior, TargetLogic.Compound, TargetLogic.Conditional, TargetLogic.DistanceSubset, TargetLogic.Excluding, TargetLogic.FarthestSubset, TargetLogic.InstanceOf, TargetLogic.Intersecting, TargetLogic.NearestSubset, TargetLogic.Randomized, TargetLogic.RandomSubset, TargetLogic.Source, TargetLogic.Subset, TargetLogic.Tagged
 
Nested classes/interfaces inherited from class com.threerings.tudey.server.logic.Logic
Logic.ShapeObserver
 
Constructor Summary
TargetLogic.NearestSubset()
           
 
Method Summary
 int compare(Logic l1, Logic l2)
           
 
Methods inherited from class com.threerings.tudey.server.logic.TargetLogic.DistanceSubset
transfer
 
Methods inherited from class com.threerings.tudey.server.logic.TargetLogic.Subset
resolve
 
Methods inherited from class com.threerings.tudey.server.logic.TargetLogic
getEntityKey, getRotation, getTranslation, init, isActive
 
Methods inherited from class com.threerings.tudey.server.logic.Logic
addShapeObserver, getModel, getPatrolPath, getSceneManager, getShape, getTags, getTransform, getTransform, getVariable, init, isDefaultEntrance, isVisible, removeShapeObserver, request, resolveTarget, setVariable, signal
 
Methods inherited from class com.threerings.util.ShallowObject
equals, hashCode
 
Methods inherited from class java.lang.Object
equals, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Comparator
equals
 

Constructor Detail

TargetLogic.NearestSubset

public TargetLogic.NearestSubset()
Method Detail

compare

public int compare(Logic l1,
                   Logic l2)


Copyright © 2011. All Rights Reserved.