Exemple #1
0
        public async Task <AnimationQueue> PlayDirectInQueue(AnimationBuilder builder)
        {
            Queue.Add(builder.Animation);
            PlayQueue();

            while (!builder.Animation.HasBeenPlayed)
            {
                await BaseScript.Delay(10);
            }

            return(this);
        }
Exemple #2
0
        public AnimationQueue AddToQueue(AnimationBuilder builder)
        {
            Queue.Add(builder.Animation);

            return(this);
        }