equal
deleted
inserted
replaced
|
1 /* |
|
2 * Projet : TraKERS |
|
3 * Module : MIDDLEWARE |
|
4 * Sous-Module : Tracking/Events |
|
5 * Classe : JumpListener |
|
6 * |
|
7 * Auteur : alexandre.bastien@iri.centrepompidou.fr |
|
8 * |
|
9 * Fonctionnalités : Ce listener écoute l'événement du type : L'utilisateur a sauté. |
|
10 * Il contient le code a être éxecuté au cas où cet événement survient, à savoir : |
|
11 * - On affiche un visuel dans le debug. |
|
12 * - On notifie le serveur TUIO. |
|
13 */ |
|
14 |
|
15 using System; |
|
16 using System.Collections.Generic; |
|
17 using System.Linq; |
|
18 using System.Text; |
|
19 |
|
20 namespace Trakers.Tracking.Events |
|
21 { |
|
22 public class JumpListener |
|
23 { |
|
24 /* |
|
25 * Méthode appelée lorsque on a l'événement : L'utilisateur a sauté. |
|
26 */ |
|
27 public void ShowOnScreen(object o, JumpEventArgs e) |
|
28 { |
|
29 //On l'indique dans le debug. |
|
30 //e.debug.showSwipe(e); |
|
31 //e.debug.ExceptionLbl.Content = "SWIPE"; |
|
32 //On notifie le serveur TUIO. |
|
33 //e.server.LeftHandQuit(o, e); |
|
34 } |
|
35 } |
|
36 } |