public void setField(int level) {
        clear();
        addElementField(new Ball(295, 464));
        addElementField(new Racket(250, 500));
        switch (level) {
            case 0: {
                addElementField(new Ball(295, 200));
                break;
            }
            case 1: {
                addElementField(new DestructibleBrick(1, 5, 5));
                addElementField(new DestructibleBrick(1, 95, 5));
                addElementField(new DestructibleBrick(1, 185, 5));
                addElementField(new DestructibleBrick(1, 275, 5));
                addElementField(new DestructibleBrick(1, 365, 5));
                addElementField(new DestructibleBrick(1, 455, 5));
                addElementField(new DestructibleBrick(1, 545, 5));
                addElementField(new DestructibleBrick(2, 5, 42));
                addElementField(new DestructibleBrick(2, 95, 42));
                addElementField(new DestructibleBrick(2, 185, 42));
                addElementField(new DestructibleBrick(1, 275, 42));
                addElementField(new DestructibleBrick(2, 365, 42));
                addElementField(new DestructibleBrick(1, 455, 42));
                addElementField(new DestructibleBrick(2, 545, 42));
                addElementField(new DestructibleBrick(1, 5, 79));
                addElementField(new DestructibleBrick(1, 95, 79));
                addElementField(new DestructibleBrick(2, 185, 79));
                addElementField(new DestructibleBrick(2, 275, 79));
                addElementField(new DestructibleBrick(2, 365, 79));
                addElementField(new DestructibleBrick(1, 455, 79));
                addElementField(new DestructibleBrick(1, 545, 79));
                addElementField(new DestructibleBrick(1, 5, 116));
                addElementField(new DestructibleBrick(1, 95, 116));
                addElementField(new DestructibleBrick(1, 185, 116));
                addElementField(new DestructibleBrick(2, 275, 116));
                addElementField(new DestructibleBrick(1, 365, 116));
                addElementField(new DestructibleBrick(1, 455, 116));
                addElementField(new DestructibleBrick(1, 545, 116));
                addElementField(new DestructibleBrick(1, 5, 153));
                addElementField(new DestructibleBrick(1, 95, 153));
                addElementField(new DestructibleBrick(2, 185, 153));
                addElementField(new DestructibleBrick(2, 275, 153));
                addElementField(new DestructibleBrick(2, 365, 153));
                addElementField(new DestructibleBrick(1, 455, 153));
                addElementField(new DestructibleBrick(1, 545, 153));
                addElementField(new DestructibleBrick(2, 5, 190));
                addElementField(new DestructibleBrick(1, 95, 190));
                addElementField(new DestructibleBrick(1, 185, 190));
                addElementField(new DestructibleBrick(2, 275, 190));
                addElementField(new DestructibleBrick(1, 365, 190));
                addElementField(new DestructibleBrick(1, 455, 190));
                addElementField(new DestructibleBrick(2, 545, 190));
                addElementField(new DestructibleBrick(1, 5, 227));
                addElementField(new DestructibleBrick(1, 95, 227));
                addElementField(new DestructibleBrick(1, 185, 227));
                addElementField(new DestructibleBrick(1, 275, 227));
                addElementField(new DestructibleBrick(1, 365, 227));
                addElementField(new DestructibleBrick(1, 455, 227));
                addElementField(new DestructibleBrick(1, 545, 227));
                break;
            }
            case 2: {
                addElementField(new DestructibleBrick(3, 5, 5));
                addElementField(new DestructibleBrick(3, 545, 5));
                addElementField(new DestructibleBrick(1, 5, 42));
                addElementField(new DestructibleBrick(2, 95, 42));
                addElementField(new DestructibleBrick(2, 455, 42));
                addElementField(new DestructibleBrick(1, 545, 42));
                addElementField(new DestructibleBrick(1, 5, 79));
                addElementField(new DestructibleBrick(1, 95, 79));
                addElementField(new DestructibleBrick(2, 185, 79));
                addElementField(new DestructibleBrick(2, 365, 79));
                addElementField(new DestructibleBrick(1, 455, 79));
                addElementField(new DestructibleBrick(1, 545, 79));
                addElementField(new DestructibleBrick(1, 5, 116));
                addElementField(new DestructibleBrick(1, 95, 116));
                addElementField(new DestructibleBrick(1, 185, 116));
                addElementField(new DestructibleBrick(1, 365, 116));
                addElementField(new DestructibleBrick(1, 455, 116));
                addElementField(new DestructibleBrick(1, 545, 116));
                addElementField(new DestructibleBrick(1, 5, 153));
                addElementField(new DestructibleBrick(1, 95, 153));
                addElementField(new DestructibleBrick(2, 185, 153));
                addElementField(new DestructibleBrick(2, 365, 153));
                addElementField(new DestructibleBrick(1, 455, 153));
                addElementField(new DestructibleBrick(1, 545, 153));
                addElementField(new DestructibleBrick(1, 5, 190));
                addElementField(new DestructibleBrick(2, 95, 190));
                addElementField(new DestructibleBrick(2, 455, 190));
                addElementField(new DestructibleBrick(1, 545, 190));
                addElementField(new DestructibleBrick(3, 5, 227));
                addElementField(new DestructibleBrick(3, 545, 227));
                addElementField(new IndestructibleBrick(275, 116));
                break;
            }
            case 3: {
                addElementField(new DestructibleBrick(3, 275, 5));
                addElementField(new DestructibleBrick(2, 185, 42));
                addElementField(new DestructibleBrick(3, 275, 42));
                addElementField(new DestructibleBrick(2, 365, 42));
                addElementField(new DestructibleBrick(1, 95, 79));
                addElementField(new DestructibleBrick(1, 185, 79));
                addElementField(new DestructibleBrick(1, 365, 79));
                addElementField(new DestructibleBrick(1, 455, 79));
                addElementField(new DestructibleBrick(1, 5, 116));
                addElementField(new DestructibleBrick(1, 95, 116));
                addElementField(new DestructibleBrick(1, 185, 116));
                addElementField(new DestructibleBrick(1, 365, 116));
                addElementField(new DestructibleBrick(1, 455, 116));
                addElementField(new DestructibleBrick(1, 545, 116));
                addElementField(new DestructibleBrick(2, 5, 190));
                addElementField(new DestructibleBrick(1, 95, 190));
                addElementField(new DestructibleBrick(1, 185, 190));
                addElementField(new DestructibleBrick(2, 275, 190));
                addElementField(new DestructibleBrick(1, 365, 190));
                addElementField(new DestructibleBrick(1, 455, 190));
                addElementField(new DestructibleBrick(2, 545, 190));
                addElementField(new DestructibleBrick(1, 95, 227));
                addElementField(new DestructibleBrick(2, 185, 227));
                addElementField(new DestructibleBrick(1, 275, 227));
                addElementField(new DestructibleBrick(2, 365, 227));
                addElementField(new DestructibleBrick(1, 455, 227));
                addElementField(new IndestructibleBrick(275, 79));
                addElementField(new IndestructibleBrick(275, 116));
                addElementField(new IndestructibleBrick(275, 153));
                break;
            }
            case 4: {
                addElementField(new DestructibleBrick(1, 5, 5));
                addElementField(new DestructibleBrick(1, 275, 5));
                addElementField(new DestructibleBrick(1, 545, 5));
                addElementField(new DestructibleBrick(2, 95, 42));
                addElementField(new DestructibleBrick(1, 275, 42));
                addElementField(new DestructibleBrick(2, 455, 42));
                addElementField(new DestructibleBrick(1, 185, 79));
                addElementField(new DestructibleBrick(1, 365, 79));
                addElementField(new DestructibleBrick(1, 5, 116));
                addElementField(new DestructibleBrick(1, 95, 116));
                addElementField(new DestructibleBrick(1, 455, 116));
                addElementField(new DestructibleBrick(1, 545, 116));
                addElementField(new DestructibleBrick(1, 185, 153));
                addElementField(new DestructibleBrick(1, 365, 153));
                addElementField(new DestructibleBrick(3, 95, 190));
                addElementField(new DestructibleBrick(1, 275, 190));
                addElementField(new DestructibleBrick(3, 455, 190));
                addElementField(new DestructibleBrick(1, 5, 227));
                addElementField(new DestructibleBrick(1, 275, 227));
                addElementField(new DestructibleBrick(1, 545, 227));
                addElementField(new IndestructibleBrick(275, 79));
                addElementField(new IndestructibleBrick(185, 116));
                addElementField(new IndestructibleBrick(275, 116));
                addElementField(new IndestructibleBrick(365, 116));
                addElementField(new IndestructibleBrick(275, 153));
                break;
            }
            case 5: {
                addElementField(new DestructibleBrick(1, 5, 5));
                addElementField(new DestructibleBrick(1, 95, 5));
                addElementField(new DestructibleBrick(1, 185, 5));
                addElementField(new DestructibleBrick(1, 275, 5));
                addElementField(new DestructibleBrick(1, 365, 5));
                addElementField(new DestructibleBrick(1, 455, 5));
                addElementField(new DestructibleBrick(1, 545, 5));
                addElementField(new DestructibleBrick(2, 185, 42));
                addElementField(new DestructibleBrick(2, 275, 42));
                addElementField(new DestructibleBrick(2, 365, 42));
                addElementField(new DestructibleBrick(3, 275, 79));
                addElementField(new DestructibleBrick(1, 5, 116));
                addElementField(new DestructibleBrick(1, 95, 116));
                addElementField(new DestructibleBrick(3, 455, 116));
                addElementField(new DestructibleBrick(3, 545, 116));
                addElementField(new DestructibleBrick(2, 5, 153));
                addElementField(new DestructibleBrick(2, 95, 153));
                addElementField(new DestructibleBrick(2, 455, 153));
                addElementField(new DestructibleBrick(2, 545, 153));
                addElementField(new DestructibleBrick(3, 5, 190));
                addElementField(new DestructibleBrick(3, 95, 190));
                addElementField(new DestructibleBrick(1, 455, 190));
                addElementField(new DestructibleBrick(1, 545, 190));
                addElementField(new IndestructibleBrick(185, 116));
                addElementField(new IndestructibleBrick(185, 153));
                addElementField(new IndestructibleBrick(185, 190));
                addElementField(new IndestructibleBrick(5, 227));
                addElementField(new IndestructibleBrick(95, 227));
                addElementField(new IndestructibleBrick(185, 227));
                addElementField(new IndestructibleBrick(455, 227));
                addElementField(new IndestructibleBrick(545, 227));
                break;
            }
        }
        
    }