public MediaTournamentVO(TournamentVO tournamentVO) { this.tournamentVO = tournamentVO; this.pointsPerGame = String.valueOf(tournamentVO.getPts() / tournamentVO.getGames()); this.reboundsPerGame = String.valueOf(tournamentVO.getTotr() / tournamentVO.getGames()); this.tonoversPerGame = String.valueOf(tournamentVO.getTo() / tournamentVO.getGames()); this.FTS = calculaFTS(tournamentVO.getFg(), tournamentVO.getFga()); this.FT2 = calculaFTS(tournamentVO.getFg2(), tournamentVO.getFga2()); this.FT3 = calculaFTS(tournamentVO.getFg3(), tournamentVO.getFga3()); this.FT = calculaFTS(tournamentVO.getFt(), tournamentVO.getFqa()); this.assistsPerGame = String.valueOf(tournamentVO.getAs() / tournamentVO.getGames()); this.blocksPerGame = String.valueOf(tournamentVO.getBs() / tournamentVO.getGames()); this.stealsPerGame = String.valueOf(tournamentVO.getSt() / tournamentVO.getGames()); calulaValoracion(); }