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 }
public override bool doTool() { objectWithSound.setSoundPath(null); Controller.getInstance().updatePanel(); return(true); }