Uses of Class
net.sf.magicproject.operation.Operation

Packages that use Operation
net.sf.magicproject.action Provides actions. 
net.sf.magicproject.clickable.targetable.card All card components. 
net.sf.magicproject.clickable.targetable.player All player components. 
net.sf.magicproject.event Available events. 
net.sf.magicproject.expression Provides expressions. 
net.sf.magicproject.operation All list and number operations. 
net.sf.magicproject.stack All classes manipulating stack and controlling the abilities/actions flow. 
 

Uses of Operation in net.sf.magicproject.action
 

Methods in net.sf.magicproject.action with parameters of type Operation
static boolean ModifyTargetableRegister.modifyRegister(MCard source, Targetable targetable, int index, int value, Operation op)
          Generate event associated to this action.
 

Uses of Operation in net.sf.magicproject.clickable.targetable.card
 

Methods in net.sf.magicproject.clickable.targetable.card with parameters of type Operation
 void MCard.setValue(int index, Operation operation, int rightValue)
          Set to the register of this card a value to a specified index.
 void LastKnownCard.setValue(int index, Operation operation, int rightValue)
           
 

Uses of Operation in net.sf.magicproject.clickable.targetable.player
 

Methods in net.sf.magicproject.clickable.targetable.player with parameters of type Operation
 void Player.setValue(int index, Operation operation, int rightValue)
          Set to the register of this card a value to a specified index.
 

Uses of Operation in net.sf.magicproject.event
 

Methods in net.sf.magicproject.event with parameters of type Operation
static void ModifiedRegister.dispatchEvent(Targetable modified, MCard pSource, int register, int index, Operation op, int rightValue)
          Dispatch this event to all active event listeners able to understand this event.
 boolean ModifiedRegisterRange.isMatching(Ability ability, Targetable modified, MCard source, Operation op, int register, int index)
           
static boolean ModifiedRegister.tryAction(Targetable modified, MCard pSource, int register, int index, Operation op, int rightValue)
          /** Dispatch this event to replacement abilites only.
 

Constructors in net.sf.magicproject.event with parameters of type Operation
ModifiedRegister(int idZone, Test sourceTest, Test testModified, MCard card, Operation op, Register register, Expression index)
          Creates a new instance of MEventModifiedRegister specifying all attributes of this class.
ModifiedRegisterRange(int idZone, Test sourceTest, Test testModified, MCard card, Operation op, Register register, Expression inf, Expression sup)
          Creates a new instance of MEventModifiedRegisterRange specifying all attributes of this class.
 

Uses of Operation in net.sf.magicproject.expression
 

Constructors in net.sf.magicproject.expression with parameters of type Operation
BinaryExpression(Operation op, Expression left, Expression right)
          Creates a new instance of BinaryExpression
UnaryExpression(java.io.InputStream inputFile, Operation op)
          Create a new instance of this class.
UnaryExpression(Operation op, Expression expr)
          Creates a new instance of UnaryExpression
 

Uses of Operation in net.sf.magicproject.operation
 

Subclasses of Operation in net.sf.magicproject.operation
 class Add
          Reprsents the PLUS operation.
 class AddHalfRounded
          Return the given value diven by two rounded up value.
 class AddHalfTruncated
          The operation returning the first value PLUS the truncated value of the HALF of the second one.
 class And
          Represent the operation returning the binary AND operation.
 class AndNot
          Represent the operation returning a binary AND NOT operation.
 class Any
          This is an Null operation.
 class BinaryOperation
          Represents a binary operation.
 class Clear
          This operation reurn always ZERO value.
 class DivRounded
          This operation divide a number by another and return the rounded result.
 class DivTruncated
          This operation divide a number by another and return the truncated result.
 class Dummy
          No standard expression is associated to this operation.
 class Increment
          Return the given value plus ONE.
 class IntList
          Reprsent an operation applied on an integer list.
 class IntValue
          A simple integer value.
 class Max
          Reprsent an operation returning the the greater value of the two given one.
 class Min
          Represent the operation returning the lower value form the two given one.
 class Mult
          Represents the Multiply operation.
 class Negative
          Return the negative value of the given one.
 class Or
           
 class Remove
           
 class Set
           
 class TargetList
           
 class UnaryOperation
          Represents an unary operation.
 class Xor
          The Exclusive Or operation.
 

Methods in net.sf.magicproject.operation that return Operation
static Operation Xor.getInstance()
          Return the unique instance of this operation.
static Operation TargetList.getInstance()
          Return the unique instance of this operation.
static Operation Set.getInstance()
          Return the unique instance of this operation.
static Operation Remove.getInstance()
          Return the unique instance of this operation.
static Operation Or.getInstance()
          Return the unique instance of this operation.
static Operation Negative.getInstance()
          Return the unique instance of this operation.
static Operation Mult.getInstance()
          Return the unique instance of this operation.
static Operation Min.getInstance()
          Return the unique instance of this operation.
static Operation Max.getInstance()
          Return the unique instance of this operation.
static Operation IntValue.getInstance()
          Return the unique instance of this operation.
static Operation IntList.getInstance()
          Return the unique instance of this operation.
static Operation Increment.getInstance()
          Return the unique instance of this operation.
static Operation DivTruncated.getInstance()
          Return the unique instance of this operation.
static Operation DivRounded.getInstance()
          Return the unique instance of this operation.
static Operation Clear.getInstance()
          Return the unique instance of this operation.
static Operation Any.getInstance()
          Return the unique instance of this operation.
static Operation AndNot.getInstance()
          Return the unique instance of this operation.
static Operation And.getInstance()
          Return the unique instance of this operation.
static Operation AddHalfTruncated.getInstance()
          Return the unique instance of this operation.
static Operation AddHalfRounded.getInstance()
          Return the unique instance of this operation.
static Operation Add.getInstance()
          Return the unique instance of this operation.
static Operation OperationFactory.getOperation(int idOperation)
          Read and return the correponding operation to the specified operation identifiant
static Operation OperationFactory.readNextOperation(java.io.InputStream inputFile)
          Read and return the next operation from specified inputFile Structure of InputStream : Data[size] idOperation [1]
 

Uses of Operation in net.sf.magicproject.stack
 

Methods in net.sf.magicproject.stack with parameters of type Operation
 void ActionManager.updateRequiredMana(Operation op, int reg, int value)
          Update the required mana of current ability.
 



Copyright © 2003-2007 Magic-Project. All Rights Reserved.