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(); } }
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; } }