public boolean init(VSDFile vf) { if (!initialized) { if (use_start_sound) { start_sound = new SoundBite(vf, start_file, name + "_Start", name + "_Start"); start_sound.setLooped(false); start_sound.setGain(gain); } if (use_mid_sound) { mid_sound = new SoundBite(vf, mid_file, name + "_Mid", name + "_Mid"); mid_sound.setLooped(false); mid_sound.setGain(gain); } if (use_end_sound) { end_sound = new SoundBite(vf, end_file, name + "_End", name + "_End"); end_sound.setLooped(false); end_sound.setGain(gain); } if (use_short_sound) { short_sound = new SoundBite(vf, short_file, name + "_Short", name + "_Short"); short_sound.setLooped(false); short_sound.setGain(gain); } } return (true); }