public DeleteDescriptionSoundTool(HasDescriptionSound hds, int type)
    {
        this.hds  = hds;
        this.type = (HasDescriptionSoundEnum)type;

        switch ((HasDescriptionSoundEnum)type)
        {
        case HasDescriptionSoundEnum.NAME_PATH:
            oldPath = hds.getNameSoundPath();
            break;

        case HasDescriptionSoundEnum.DESCRIPTION_PATH:
            oldPath = hds.getDescriptionSoundPath();
            break;

        case HasDescriptionSoundEnum.DETAILED_DESCRIPTION_PATH:
            oldPath = hds.getDetailedDescriptionSoundPath();
            break;
        }
    }
 public ChangeDescriptionSoundTool(HasDescriptionSound descrSound, int type) : base(createResources(descrSound, type), createAssetInfoArray(), 0, 0)
 {
     this.descriptionSound = descrSound;
     this.type             = (HasDescriptionSoundEnum)type;
 }