Make project setup easier with Maven (#411)

* Remove a bunch of .ideas and class files to see if it makes the setup easier

* remove some .idea's and imkls

* Remove a ton of .class files

* [TASK] Switched to maven instead of gradle

* [TASK] Added target to gitignore

* Remove ignored files

* [TASK] Fixed file_server source

* [TASK] Fixed client source

* [BUGFIX] Main Class

* [BUGFIX] Fixed SLF4J

* [TASK] Server Libs cleanup

* Update setup guide/debug

* Maven cli compile instructions

* [TASK] Jar building

* Update runServer and runFileServer.sh

Co-authored-by: Sandro Coutinho <sandro@farrelltech.org>
This commit is contained in:
Daniel Ginovker
2020-08-04 17:57:19 -04:00
committed by GitHub
parent 6684364b64
commit eebc60084f
1811 changed files with 61630 additions and 63947 deletions
@@ -0,0 +1,38 @@
// 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 {
@Override
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(Game client1) {
syncObject = new Object();
coordsY = new int[500];
running = true;
coordsX = new int[500];
clientInstance = client1;
}
private Game clientInstance;
public final Object syncObject;
public final int[] coordsY;
public boolean running;
public final int[] coordsX;
public int coordsIndex;
}