Example #1
0
    protected static ResourcesUni createResources(HasSound objectWithSound)
    {
        ResourcesUni resources = new ResourcesUni();

        string soundPath = objectWithSound.getSoundPath();

        if (soundPath != null)
        {
            resources.addAsset(AUDIO_STR, soundPath);
        }
        return(resources);
    }
Example #2
0
 public DeleteSimpleSoundTool(HasSound objectWithSound)
 {
     this.objectWithSound = objectWithSound;
     oldPath = objectWithSound.getSoundPath();
 }