com.threerings.tudey.server.logic
Class TargetLogic.Subset
java.lang.Object
com.threerings.util.ShallowObject
com.threerings.tudey.server.logic.Logic
com.threerings.tudey.server.logic.TargetLogic
com.threerings.tudey.server.logic.TargetLogic.Subset
- Direct Known Subclasses:
- TargetLogic.DistanceSubset, TargetLogic.RandomSubset
- Enclosing class:
- TargetLogic
public abstract static class TargetLogic.Subset
- extends TargetLogic
Base class for targets limited to a sized subset.
| 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 |
| 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 |
TargetLogic.Subset
public TargetLogic.Subset()
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.
transfer
public void transfer(Logic source,
Map<Object,Object> refs)
- Description copied from class:
Logic
- Transfers state from the specified source logic. Where relevant, this also takes the place
of addition/startup notification.
- Overrides:
transfer in class Logic
Copyright © 2011. All Rights Reserved.