Ejemplo n.º 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);
    }
Ejemplo n.º 2
0
 public DeleteSimpleSoundTool(HasSound objectWithSound)
 {
     this.objectWithSound = objectWithSound;
     oldPath = objectWithSound.getSoundPath();
 }