private void setExit(Room room, int nb_exit, Room neighbor) {
        // TODO Auto-generated method stub
        switch(nb_exit)
        {
            case 1 :
                room.setExit(Direction.NORTH, neighbor);
                neighbor.setExit(Direction.SOUTH, room);
                break;
            
            case 2 :
                room.setExit(Direction.WEST, neighbor);
                neighbor.setExit(Direction.EAST, room);
                break;
                
            case 3 :
                room.setExit(Direction.EAST, neighbor);
                neighbor.setExit(Direction.WEST, room);
                break;

            default:
                room.setExit(Direction.NORTH, neighbor);
                neighbor.setExit(Direction.SOUTH, room);
                break;
        }
    }