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

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.Evaluate
Enclosing class:
ConditionLogic

public static class ConditionLogic.Evaluate
extends ConditionLogic

Evaluates the evaluate 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.IntersectsScene, ConditionLogic.Is, ConditionLogic.Limit, ConditionLogic.Not, ConditionLogic.Random, ConditionLogic.Tagged, ConditionLogic.Targeted
 
Nested classes/interfaces inherited from class com.threerings.tudey.server.logic.Logic
Logic.ShapeObserver
 
Field Summary
protected  ExpressionLogic _expression
          The expression to evaluate.
 
Fields inherited from class com.threerings.tudey.server.logic.ConditionLogic
_config, _source
 
Fields inherited from class com.threerings.tudey.server.logic.Logic
_scenemgr, _variables
 
Constructor Summary
ConditionLogic.Evaluate()
           
 
Method Summary
protected  void didInit()
          Override to perform custom initialization.
 boolean isSatisfied(Logic activator)
          Determines whether the condition is satisfied.
 
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, 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

_expression

protected ExpressionLogic _expression
The expression to evaluate.

Constructor Detail

ConditionLogic.Evaluate

public ConditionLogic.Evaluate()
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.

didInit

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

Overrides:
didInit in class ConditionLogic