Esempio n. 1
0
 public Path(Type pathType, Command com)
 {
     type = pathType;
     commands = new List<Command>();
     start = new Coordinates(com.pos);
     looped = false;
 }
Esempio n. 2
0
        public Command(Command clone)
        {
            line = 0;
            type = clone.type;
            code = clone.code;
            block = clone.block;

            pos = new Coordinates(clone.pos);
            E = new Value(clone.E);
            I = new Value(clone.I);
            J = new Value(clone.J);
            K = new Value(clone.K);
            L = new Value(clone.L);
            F = new Value(clone.F);
            S = new Value(clone.S);
        }
Esempio n. 3
0
        public Command()
        {
            line = 0;
            type = ' ';
            code = uint.MaxValue;
            block = uint.MaxValue;

            pos = new Coordinates();
            E = new Value();
            I = new Value();
            J = new Value();
            K = new Value();
            L = new Value();
            F = new Value();
            S = new Value();
        }
Esempio n. 4
0
 public Coordinates(Coordinates clone)
 {
     X = new Value(clone.X);
     Y = new Value(clone.Y);
     Z = new Value(clone.Z);
 }