Ejemplo n.º 1
0
        public static void Start()
        {
            PositionReader reader = new PositionReader(@"E:\CodeFunDo\Skeleton\SkeletonBasics-WPF\yogabase.xml");

            reader.ReadPositions();

            List <Yoga> yogas = reader.Yogas;

            foreach (Yoga yoga in yogas)
            {
                //yoga.Start();
            }
        }
Ejemplo n.º 2
0
        public YogaEvaluator()
        {
            PositionReader reader = new PositionReader(Constants.yogabaseFile);

            reader.ReadPositions();

            userProfile = new Profile();
            userProfile.ReadProfile();

            //this.currentYoga = 1;
            yogas = reader.Yogas;

            if (yogas.Count > 0)
            {
                currentYoga = yogas[0].Id;
            }
        }