Added automatic updates server side when data is changed

This commit is contained in:
MickWerf
2020-06-07 14:12:48 +02:00
parent b287360012
commit 60d478bb1e
4 changed files with 22 additions and 9 deletions

View File

@@ -13,7 +13,7 @@ public class Server {
public void start() {
this.sessionController = new SessionController(this);
this.dataController = new DataController();
this.dataController = new DataController(sessionController);
this.gameThreads = new HashMap<>();
this.sessionThread = new Thread(sessionController);