vPhaseReport.addElement(new Report(7000, Report.PUBLIC));
addReport(new Report(7000, Report.PUBLIC));
    private void prepareVictoryReport() {        Report r;        vPhaseReport.addElement(new Report(7000, Report.PUBLIC));        //Declare the victor        r = new Report(1210);        r.type = Report.PUBLIC;        if (game.getVictoryTeam() == Player.TEAM_NONE) {            Player player = getPlayer( game.getVictoryPlayerId() );            if ( null == player ) {                r.messageId = 7005;            } else {                r.messageId = 7010;                r.add(player.getName());            }        } else {            //Team victory            r.messageId = 7015;            r.add(game.getVictoryTeam());        }        vPhaseReport.addElement(r);        //List the survivors        Enumeration survivors = game.getEntities();        if ( survivors.hasMoreElements() ) {            vPhaseReport.addElement(new Report(7020, Report.PUBLIC));            while ( survivors.hasMoreElements() ) {                Entity entity = (Entity) survivors.nextElement();                if ( !entity.isDeployed() )                  continue;                vPhaseReport.addAll( entity.victoryReport());            }        }        //List units that never deployed        Enumeration undeployed = game.getEntities();        if ( undeployed.hasMoreElements() ) {            boolean wroteHeader = false;            while ( undeployed.hasMoreElements() ) {                Entity entity = (Entity) undeployed.nextElement();                if ( entity.isDeployed() )                  continue;                if ( !wroteHeader ) {                  vPhaseReport.addElement(new Report(7075, Report.PUBLIC));                  wroteHeader = true;                }                vPhaseReport.addAll( entity.victoryReport());            }        }        //List units that retreated        Enumeration retreat = game.getRetreatedEntities();        if ( retreat.hasMoreElements() ) {            vPhaseReport.addElement(new Report(7080, Report.PUBLIC));            while ( retreat.hasMoreElements() ) {                Entity entity = (Entity) retreat.nextElement();                vPhaseReport.addAll( entity.victoryReport());            }        }        //List destroyed units        Enumeration graveyard = game.getGraveyardEntities();        if ( graveyard.hasMoreElements() ) {            vPhaseReport.addElement(new Report(7085, Report.PUBLIC));            while ( graveyard.hasMoreElements() ) {                Entity entity = (Entity) graveyard.nextElement();                vPhaseReport.addAll( entity.victoryReport());            }        }        //List devastated units (not salvagable)        Enumeration devastated = game.getDevastatedEntities();        if ( devastated.hasMoreElements() ) {            vPhaseReport.addElement(new Report(7090, Report.PUBLIC));            while ( devastated.hasMoreElements() ) {                Entity entity = (Entity) devastated.nextElement();                vPhaseReport.addAll( entity.victoryReport());            }        }        //Let player know about entitystatus.txt file        vPhaseReport.addElement(new Report(7095, Report.PUBLIC));    }