Example #1
0
        public static ActionSound Create(bool indirect, Sound Sound)
        {
            ActionSound sound1 = ActionSound.Create(indirect);

            sound1.SoundObj = Sound;
            return(sound1);
        }
Example #2
0
        public static ActionSound Create(Sound Sound)
        {
            ActionSound sound1 = ActionSound.Create(true);

            sound1.SoundObj = Sound;
            return(sound1);
        }
Example #3
0
        public static ActionSound Create(bool indirect, Sound Sound, double volume, bool sync, bool repeat, bool mix)
        {
            ActionSound sound1 = ActionSound.Create(indirect);

            sound1.SoundObj    = Sound;
            sound1.Volume      = volume;
            sound1.Synchronous = sync;
            sound1.Repeat      = repeat;
            sound1.Mix         = mix;
            return(sound1);
        }