-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMouseDetection.java
More file actions
executable file
·45 lines (41 loc) · 914 Bytes
/
Copy pathMouseDetection.java
File metadata and controls
executable file
·45 lines (41 loc) · 914 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
// Decompiled by Jad v1.5.8f. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.kpdus.com/jad.html
// Decompiler options: packimports(3)
final class MouseDetection
implements Runnable
{
public void run()
{
while(running)
{
synchronized(syncObject)
{
if(coordsIndex < 500)
{
coordsX[coordsIndex] = clientInstance.mouseX;
coordsY[coordsIndex] = clientInstance.mouseY;
coordsIndex++;
}
}
try
{
Thread.sleep(50L);
}
catch(Exception _ex) { }
}
}
public MouseDetection(client client1)
{
syncObject = new Object();
coordsY = new int[500];
running = true;
coordsX = new int[500];
clientInstance = client1;
}
private client clientInstance;
public final Object syncObject;
public final int[] coordsY;
public boolean running;
public final int[] coordsX;
public int coordsIndex;
}