47 super(ttime, si,xp,yp); |
47 super(ttime, si,xp,yp); |
48 this.cursor_id = ci; |
48 this.cursor_id = ci; |
49 } |
49 } |
50 |
50 |
51 /** |
51 /** |
|
52 * This constructor takes a TuioTime argument and assigns it along with the provided |
|
53 * Session ID, Cursor ID, X, Y and Z coordinate to the newly created TuioCursor. |
|
54 * |
|
55 * @param ttime the TuioTime to assign |
|
56 * @param si the Session ID to assign |
|
57 * @param ci the Cursor ID to assign |
|
58 * @param xp the X coordinate to assign |
|
59 * @param yp the Y coordinate to assign |
|
60 * @param zp the Z coordinate to assign |
|
61 */ |
|
62 public TuioCursor (TuioTime ttime, long si, int ci, float xp, float yp, float zp) { |
|
63 super(ttime, si,xp,yp,zp); |
|
64 this.cursor_id = ci; |
|
65 } |
|
66 |
|
67 /** |
52 * This constructor takes the provided Session ID, Cursor ID, X and Y coordinate |
68 * This constructor takes the provided Session ID, Cursor ID, X and Y coordinate |
53 * and assigs these values to the newly created TuioCursor. |
69 * and assigs these values to the newly created TuioCursor. |
54 * |
70 * |
55 * @param si the Session ID to assign |
71 * @param si the Session ID to assign |
56 * @param ci the Cursor ID to assign |
72 * @param ci the Cursor ID to assign |
57 * @param xp the X coordinate to assign |
73 * @param xp the X coordinate to assign |
58 * @param yp the Y coordinate to assign |
74 * @param yp the Y coordinate to assign |
59 */ |
75 */ |
60 public TuioCursor (long si, int ci, float xp, float yp) { |
76 public TuioCursor (long si, int ci, float xp, float yp) { |
61 super(si,xp,yp); |
77 super(si,xp,yp); |
|
78 this.cursor_id = ci; |
|
79 } |
|
80 |
|
81 /** |
|
82 * This constructor takes the provided Session ID, Cursor ID, X, Y and Z coordinate |
|
83 * and assigs these values to the newly created TuioCursor. |
|
84 * |
|
85 * @param si the Session ID to assign |
|
86 * @param ci the Cursor ID to assign |
|
87 * @param xp the X coordinate to assign |
|
88 * @param yp the Y coordinate to assign |
|
89 * @param zp the Z coordinate to assign |
|
90 */ |
|
91 public TuioCursor (long si, int ci, float xp, float yp, float zp) { |
|
92 super(si,xp,yp,zp); |
62 this.cursor_id = ci; |
93 this.cursor_id = ci; |
63 } |
94 } |
64 |
95 |
65 /** |
96 /** |
66 * This constructor takes the atttibutes of the provided TuioCursor |
97 * This constructor takes the atttibutes of the provided TuioCursor |