示例#1
0
    public override bool doTool()
    {
        //string selectedName;

        bool done = base.doTool();

        if (!done)
        {
            return(false);
        }
        else
        {
            objectWithSound.setSoundPath(resources.getAssetPath(AUDIO_STR));
            controller.updatePanel();
            return(true);
        } // end else
    }
示例#2
0
 public override bool doTool()
 {
     objectWithSound.setSoundPath(null);
     Controller.getInstance().updatePanel();
     return(true);
 }