Exemple #1
0
 private static void ActivePerson(object sender, ActivePersonEventArgs e)
 {
     _active = e.Person;
     Console.WriteLine("User Active");
     _jgc             = new JoystickGestureChecker(_active, false);
     _jgc.Successful += Movement;
 }
Exemple #2
0
 private void ActivePerson(object sender, ActivePersonEventArgs e)
 {
     _active              = e.Person;
     _active.OnZoom      += Zoomed;
     _active.OnSwipe     += Swiped;
     _active.OnWave      += ActWaved;
     LoginText.Visibility = Visibility.Hidden;
     sv.Visibility        = Visibility.Visible;
 }
Exemple #3
0
 private static void ActivePerson(object sender, ActivePersonEventArgs e)
 {
     _active = e.Person;
     Console.WriteLine("User Active");
     _active.OnWave += ActWaved;
     sgc             = new SteeringGestureChecker(e.Person);
     tgc             = new ThrustGestureChecker(e.Person);
     sgc.Successful += Steered;
     tgc.Successful += Thrusted;
 }