Ejemplo n.º 1
0
        public bool stopSound(string name)
        {
            SoundSpecification sound = getSound(name);

            if (sound != null)
            {
                return(sound.stop());
            }
            else
            {
                return(false);
            }
        }
Ejemplo n.º 2
0
        public bool playSound(string name, double speed, bool cycle)
        {
            SoundSpecification sound = getSound(name);

            if (sound != null)
            {
                //	sound.attachTo(referentialPoint);
                return(sound.play(speed, cycle));
            }
            else
            {
                return(false);
            }
        }