public Indicador(int num, double angulo_max, DrawingContext drco, WriteableJoint A_ini, WriteableJoint B_ini, Joint A_act, Joint B_act, MainWindow mw) { this.num_puntos = ((num<3) ? 3 : num); this.angulo_max = angulo_max; this.dc = drco; this.A_initial = A_ini; this.B_initial = B_ini; this.A_actual = A_act; this.B_actual = B_act; this.color_1 = Brushes.LightGray; this.color_2 = Brushes.GreenYellow; this.color_3 = Brushes.Red; this.main_window = mw; }
/// <summary> /// Constructor de la clase. /// </summary> /// <param name="v"> objeto que usamos para poder recibir y manejar eventos de la interfaz gráfica</param> public Mov( MainWindow v) { padre = v; }