public Fruit (Room room, int type){
        this.room = room;
        this.type = type;
        switch (type){
            case 1: points = 100;
                break;
            case 2: points = 300;
                break;
            case 3: points = 500;
                break;
            case 4: points = 700;
                break;
            case 5: points = 1000;
                break;
            case 6: points = 2000;
                break;
            case 7: points = 3000;
                break;
            case 8: points = 5000;
                break;
        }
        exists = true;
        this.boundingBox = new Rectangle((13*12)+8, 20*12+1, 11, 11);
    }