Exemple #1
0
        public OpActions ResetActions()
        {
            OpActions result = this.actions;

            this.actions = new OpActions();

            return(result);
        }
Exemple #2
0
        public Op AddOp(byte code, int pc, int deep, DataWord energy, OpActions actions)
        {
            Op op = new Op();

            op.Code    = (OpCode)code;
            op.PC      = pc;
            op.Deep    = deep;
            op.Energy  = energy.ToBigInteger();
            op.Actions = actions;
            this.ops.Add(op);

            return(op);
        }