public void BMLScheduler_Test1()
        {
            BmlScheduler scheduler = new BmlScheduler(BmlParser.Parse("Files\\BML.xml"));
            scheduler.Animationspath = "Files\\Animations.xml";
            var schedule = scheduler.GetBmlSchedule();

            Assert.IsNotNull(schedule);
            Assert.IsTrue(schedule.Count == 4);
            Assert.IsTrue(schedule[3].Time == 50);
        }
Exemple #2
0
 public void LoadBmlRequest(string path)
 {
     BmlScheduler scheduler = new BmlScheduler(BmlParser.Parse(path));
     Reset();
     ScheduledBehaviours.AddRange(scheduler.GetBmlSchedule());
 }