com.threerings.tudey.server.logic
Class ConditionLogic.All

java.lang.Object
  extended by com.threerings.util.ShallowObject
      extended by com.threerings.tudey.server.logic.Logic
          extended by com.threerings.tudey.server.logic.ConditionLogic
              extended by com.threerings.tudey.server.logic.ConditionLogic.All
Enclosing class:
ConditionLogic

public static class ConditionLogic.All
extends ConditionLogic

Evaluates the all condition.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.threerings.tudey.server.logic.ConditionLogic
ConditionLogic.Action, ConditionLogic.All, ConditionLogic.Always, ConditionLogic.Any, ConditionLogic.Cooldown, ConditionLogic.DistanceWithin, ConditionLogic.Evaluate, ConditionLogic.FlagSet, ConditionLogic.InstanceOf, ConditionLogic.Intersecting, ConditionLogic.Limit, ConditionLogic.Not, ConditionLogic.Random, ConditionLogic.Tagged, ConditionLogic.Targeted
 
Nested classes/interfaces inherited from class com.threerings.tudey.server.logic.Logic
Logic.ShapeObserver
 
Constructor Summary
ConditionLogic.All()
           
 
Method Summary
 boolean isSatisfied(Logic activator)
          Determines whether the condition is satisfied.
 void transfer(Logic source, Map<Object,Object> refs)
          Transfers state from the specified source logic.
 
Methods inherited from class com.threerings.tudey.server.logic.ConditionLogic
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
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConditionLogic.All

public ConditionLogic.All()
Method Detail

isSatisfied

public boolean isSatisfied(Logic activator)
Description copied from class: ConditionLogic
Determines whether the condition is satisfied.

Specified by:
isSatisfied in class ConditionLogic
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.