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

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
Direct Known Subclasses:
ExpressionLogic.Add, ExpressionLogic.And, ExpressionLogic.Divide, ExpressionLogic.Equals, ExpressionLogic.Greater, ExpressionLogic.GreaterEquals, ExpressionLogic.Less, ExpressionLogic.LessEquals, ExpressionLogic.Multiply, ExpressionLogic.Or, ExpressionLogic.Remainder, ExpressionLogic.Subtract, ExpressionLogic.Xor
Enclosing class:
ExpressionLogic

public abstract static class ExpressionLogic.BinaryOperation
extends ExpressionLogic

Base class for the binary operations.


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
protected  ExpressionLogic _firstOperand
          The operand logics.
protected  ExpressionLogic _secondOperand
          The operand logics.
 
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.BinaryOperation()
           
 
Method Summary
protected  void didInit()
          Override to perform custom initialization.
 
Methods inherited from class com.threerings.tudey.server.logic.ExpressionLogic
coerceToBoolean, coerceToDouble, evaluate, 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
 

Field Detail

_firstOperand

protected ExpressionLogic _firstOperand
The operand logics.


_secondOperand

protected ExpressionLogic _secondOperand
The operand logics.

Constructor Detail

ExpressionLogic.BinaryOperation

public ExpressionLogic.BinaryOperation()
Method Detail

didInit

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

Overrides:
didInit in class ExpressionLogic