Exemplo n.º 1
0
        public void MoveTo(Vector2 pos)
        {
            XNAPolyline line = new XNAPolyline(pdevice);

            line.Stroke      = Stroke;
            line.StrokeWidth = StrokeWidth;
            line.AddPoint(pos);
            lines.Add(line);
            lastPosition = pos;
        }
Exemplo n.º 2
0
 public void MoveTo(Vector2 pos)
 {
     XNAPolyline line = new XNAPolyline(pdevice);
     line.Stroke = Stroke;
     line.StrokeWidth = StrokeWidth;
     line.AddPoint(pos);
     lines.Add(line);
     lastPosition = pos;
 }