Esempio n. 1
0
 void registrarRebote(string nombreJugador, bool ofensivo = false)
 {
     string cuarto = lblCuarto.Text[0].ToString();
     string evento = (ofensivo) ? "Rebote Ofensivo" : "Rebote Defensivo";
     Registro r    = new Registro(cuarto, this.label_timer.Text, evento, nombreJugador);
     minuteToMinute.Add(r);
 }
Esempio n. 2
0
 void registrarTriple(string nombreJugador, bool encestado = true)
 {
     string cuarto = lblCuarto.Text[0].ToString();
     string evento = (encestado) ? "Triple Anotado" : "Triple Fallado";
     Registro r    = new Registro(cuarto, this.label_timer.Text, evento, nombreJugador);
     minuteToMinute.Add(r);
 }
Esempio n. 3
0
 void registrarFalta(string nombreJugador)
 {
     string cuarto = lblCuarto.Text[0].ToString();
     Registro r    = new Registro(cuarto, this.label_timer.Text, "Falta", nombreJugador);
     minuteToMinute.Add(r);
 }