com.threerings.tudey.server.logic
Class ExpressionLogic.Xor

java.lang.Object
  extended by com.threerings.util.ShallowObject
      extended by com.threerings.tudey.server.logic.Logic
          extended by com.threerings.tudey.server.logic.ExpressionLogic
              extended by com.threerings.tudey.server.logic.ExpressionLogic.BinaryOperation
                  extended by com.threerings.tudey.server.logic.ExpressionLogic.Xor
Enclosing class:
ExpressionLogic

public static class ExpressionLogic.Xor
extends ExpressionLogic.BinaryOperation

Evaluates a logical XOR expression.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.threerings.tudey.server.logic.ExpressionLogic
ExpressionLogic.Add, ExpressionLogic.And, ExpressionLogic.BinaryOperation, ExpressionLogic.Constant, ExpressionLogic.Decrement, ExpressionLogic.Divide, ExpressionLogic.Equals, ExpressionLogic.Greater, ExpressionLogic.GreaterEquals, ExpressionLogic.Increment, ExpressionLogic.Less, ExpressionLogic.LessEquals, ExpressionLogic.Multiply, ExpressionLogic.Negate, ExpressionLogic.Not, ExpressionLogic.NumTargets, ExpressionLogic.Or, ExpressionLogic.Parsed, ExpressionLogic.Previous, ExpressionLogic.Reference, ExpressionLogic.Remainder, ExpressionLogic.Subtract, ExpressionLogic.UnaryOperation, ExpressionLogic.Xor
 
Nested classes/interfaces inherited from class com.threerings.tudey.server.logic.Logic
Logic.ShapeObserver
 
Field Summary
 
Fields inherited from class com.threerings.tudey.server.logic.ExpressionLogic.BinaryOperation
_firstOperand, _secondOperand
 
Fields inherited from class com.threerings.tudey.server.logic.ExpressionLogic
_config, _source
 
Fields inherited from class com.threerings.tudey.server.logic.Logic
_scenemgr, _variables
 
Constructor Summary
ExpressionLogic.Xor()
           
 
Method Summary
 Object evaluate(Logic activator, Object previous)
          Evaluates the expression.
 
Methods inherited from class com.threerings.tudey.server.logic.ExpressionLogic.BinaryOperation
didInit
 
Methods inherited from class com.threerings.tudey.server.logic.ExpressionLogic
coerceToBoolean, coerceToDouble, getEntityKey, getRotation, getTranslation, init, isActive, parseValue
 
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
 

Constructor Detail

ExpressionLogic.Xor

public ExpressionLogic.Xor()
Method Detail

evaluate

public Object evaluate(Logic activator,
                       Object previous)
Description copied from class: ExpressionLogic
Evaluates the expression.

Specified by:
evaluate in class ExpressionLogic