case Game.PHASE_SET_ARTYAUTOHITHEXES : case Game.PHASE_DEPLOY_MINEFIELDS : case Game.PHASE_DEPLOYMENT : case Game.PHASE_MOVEMENT : case Game.PHASE_FIRING : case Game.PHASE_PHYSICAL : case Game.PHASE_TARGETING: case Game.PHASE_OFFBOARD :
case IGame.PHASE_SET_ARTYAUTOHITHEXES : case IGame.PHASE_DEPLOY_MINEFIELDS : case IGame.PHASE_DEPLOYMENT : case IGame.PHASE_MOVEMENT : case IGame.PHASE_FIRING : case IGame.PHASE_PHYSICAL : case IGame.PHASE_TARGETING: case IGame.PHASE_OFFBOARD :
    private boolean isPhasePlayable(int phase) {        switch (phase) {            case Game.PHASE_SET_ARTYAUTOHITHEXES :            case Game.PHASE_DEPLOY_MINEFIELDS :            case Game.PHASE_DEPLOYMENT :            case Game.PHASE_MOVEMENT :            case Game.PHASE_FIRING :            case Game.PHASE_PHYSICAL :            case Game.PHASE_TARGETING:            case Game.PHASE_OFFBOARD :                return game.hasMoreTurns();            default :                return true;        }    }