public void addPoint(GameData g) { int point = g.getAccess() + g.getComment() * 3; g.setPoint(point); save(g); }