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); }
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); }
void registrarFalta(string nombreJugador) { string cuarto = lblCuarto.Text[0].ToString(); Registro r = new Registro(cuarto, this.label_timer.Text, "Falta", nombreJugador); minuteToMinute.Add(r); }