Esempio n. 1
0
        public void MakeRandom(OperatorHolder OHolder, int CIndex)
        {
            Holder         = OHolder;
            ContainedIndex = CIndex;
            Holder.AddOperatorToHolder(this, ContainedIndex);
            AllOperatorsContainedIndex = Eq.AddOperatorToAlloperators(this);

            ChangeOperator();
        }
Esempio n. 2
0
        public void SetupOperator(bool OResultOmRightSide, MathFunction OMFunction, int OParameterIndex, float ORandomNumber, bool OUseRandomNumber, int CIndex, Connector OExtraMathFunction, OperatorHolder OHolder)
        {
            ResultOnRightSide = OResultOmRightSide;
            MFunction         = OMFunction;
            ParameterIndex    = OParameterIndex;
            RandomNumber      = ORandomNumber;
            UseRandomNumber   = OUseRandomNumber;
            ExtraMathFunction = OExtraMathFunction;
            Holder            = OHolder;
            Holder.AddOperatorToHolder(this);

            AllOperatorsContainedIndex = Eq.AddOperatorToAlloperators(this);
            ContainedIndex             = CIndex;
        }