case Game.PHASE_MOVEMENT_REPORT : case Game.PHASE_OFFBOARD_REPORT : case Game.PHASE_FIRING_REPORT : case Game.PHASE_END : case Game.PHASE_VICTORY :
case IGame.PHASE_MOVEMENT_REPORT : case IGame.PHASE_OFFBOARD_REPORT : case IGame.PHASE_FIRING_REPORT : case IGame.PHASE_END : case IGame.PHASE_VICTORY :
        public void gamePhaseChange(GamePhaseChangeEvent e) {            boolean showRerollButton = false;                        //This is a really lame place for this, but I couldn't find a            //better one without making massive changes (which didn't seem            //worth it for one little feature).            if (bv.getLocalPlayer() == null) {                bv.setLocalPlayer(client.getLocalPlayer());            }                        // Swap to this phase's panel.            switchPanel(client.game.getPhase());                        // Hide tooltip (thanks Thrud Cowslayer, C.O.R.E, and others for helping test this! :)            bv.hideTooltip();                        // Handle phase-specific items.            switch (client.game.getPhase()) {            case Game.PHASE_DEPLOY_MINEFIELDS :                if (GUIPreferences.getInstance().getMinimapEnabled() && !minimapW.isVisible()) {                    setMapVisible(true);                }            break;            case Game.PHASE_DEPLOYMENT :                if (GUIPreferences.getInstance().getMinimapEnabled() && !minimapW.isVisible()) {                    setMapVisible(true);                }            break;            case Game.PHASE_TARGETING :                if (GUIPreferences.getInstance().getMinimapEnabled() && !minimapW.isVisible()) {                    setMapVisible(true);                }            break;            case Game.PHASE_MOVEMENT :                if (GUIPreferences.getInstance().getMinimapEnabled() && !minimapW.isVisible()) {                    setMapVisible(true);                }            break;            case Game.PHASE_OFFBOARD :                if (GUIPreferences.getInstance().getMinimapEnabled() && !minimapW.isVisible()) {                    setMapVisible(true);                }            break;            case Game.PHASE_FIRING :                if (GUIPreferences.getInstance().getMinimapEnabled() && !minimapW.isVisible()) {                    setMapVisible(true);                }            break;            case Game.PHASE_PHYSICAL :                bv.refreshAttacks();                if (GUIPreferences.getInstance().getMinimapEnabled() && !minimapW.isVisible()) {                    setMapVisible(true);                }                break;            case Game.PHASE_INITIATIVE :                bv.clearAllAttacks();            showRerollButton = client.game.hasTacticalGenius(client.getLocalPlayer());            case Game.PHASE_MOVEMENT_REPORT :            case Game.PHASE_OFFBOARD_REPORT :            case Game.PHASE_FIRING_REPORT :            case Game.PHASE_END :            case Game.PHASE_VICTORY :                setMapVisible(false);                        // nemchenk, 2004-01-01 -- hide MechDisplay at the end            mechW.setVisible(false);            break;            }                        menuBar.setPhase(client.game.getPhase());            cb.getComponent().setVisible(true);            validate();            doLayout();            cb.moveToEnd();        }