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

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.InstanceOf
Enclosing class:
TargetLogic

public static class TargetLogic.InstanceOf
extends TargetLogic

Refers to entities of a certain logic class.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.threerings.tudey.server.logic.TargetLogic
TargetLogic.Activator, TargetLogic.ActivatorOf, 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
 
Field Summary
protected  Class<? extends Logic> _logicClass
          The logic class.
 
Fields inherited from class com.threerings.tudey.server.logic.TargetLogic
_config, _source
 
Fields inherited from class com.threerings.tudey.server.logic.Logic
_scenemgr, _variables
 
Constructor Summary
TargetLogic.InstanceOf()
           
 
Method Summary
protected  void didInit()
          Override to perform custom initialization.
 void resolve(Logic activator, Collection<Logic> results)
          Resolves the list of targets, placing the results in the supplied collection.
 
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, createAction, createCondition, createExpression, createHandler, createRegion, createTarget, getModel, getPatrolPath, getSceneManager, getShape, getTags, getTransform, getTransform, getVariable, init, isDefaultEntrance, isVisible, removeShapeObserver, request, resolveTarget, setVariable, signal, transfer
 
Methods inherited from class com.threerings.util.ShallowObject
equals, hashCode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_logicClass

protected Class<? extends Logic> _logicClass
The logic class.

Constructor Detail

TargetLogic.InstanceOf

public TargetLogic.InstanceOf()
Method Detail

resolve

public void resolve(Logic activator,
                    Collection<Logic> results)
Description copied from class: TargetLogic
Resolves the list of targets, placing the results in the supplied collection.

Specified by:
resolve in class TargetLogic
Parameters:
activator - the entity that triggered the action.

didInit

protected void didInit()
Description copied from class: TargetLogic
Override to perform custom initialization.

Overrides:
didInit in class TargetLogic