|
0
|
1 |
using System; |
|
|
2 |
using System.Collections.Generic; |
|
|
3 |
using System.Linq; |
|
|
4 |
using System.Text; |
|
|
5 |
using Trakers.Communication; |
|
|
6 |
using Trakers.Tracking.Gestures; |
|
|
7 |
|
|
|
8 |
namespace Trakers.Tracking.Events |
|
|
9 |
{ |
|
|
10 |
public class SwipeEventArgs : EventArgs |
|
|
11 |
{ |
|
|
12 |
//FenĂȘtre de debug. |
|
|
13 |
public readonly Debug.DebugWindow debug; |
|
|
14 |
//Serveur TUIO. |
|
|
15 |
public readonly Server server; |
|
|
16 |
//Direction du swipe. |
|
|
17 |
public readonly SwipeDetector.Direction direction; |
|
|
18 |
|
|
|
19 |
/* |
|
|
20 |
* Constructeur : Il prend l'affichage de debug, le serveur TUIO et la direction du swipe. |
|
|
21 |
*/ |
|
|
22 |
public SwipeEventArgs(Debug.DebugWindow _debug, Server _server, SwipeDetector.Direction _direction) |
|
|
23 |
{ |
|
|
24 |
debug = _debug; |
|
|
25 |
server = _server; |
|
|
26 |
direction = _direction; |
|
|
27 |
} |
|
|
28 |
} |
|
|
29 |
} |