if ( null == vOutOfGame ) { throw new IllegalArgumentException ( "New out-of-game list is null." ); } this.vOutOfGame = vOutOfGame;
megamek.debug.Assert.assertTrue(vOutOfGame != null, "New out-of-game list should not be null."); Vector newOutOfGame = new Vector();
    public void setOutOfGameEntitiesVector(Vector vOutOfGame) {        if ( null == vOutOfGame ) {            throw new IllegalArgumentException                ( "New out-of-game list is null." );        }        this.vOutOfGame = vOutOfGame;        // Add these entities to the game.        for (Enumeration i = vOutOfGame.elements(); i.hasMoreElements();) {            final Entity entity = (Entity)i.nextElement();            entity.setGame(this);        }        processGameEvent(new GameEntityNewOffboardEvent(this));    }