Fixed collision detection

This commit is contained in:
Thomas
2020-08-28 16:09:47 +02:00
parent cec5fca5c4
commit 8add12d4c3
5 changed files with 23 additions and 8 deletions

View File

@@ -16,8 +16,10 @@ public class Game {
private Map<String, Player> players;
private Map<String, WebSocketSession> sessions;
private GameSettings settings;
private boolean updateNeeded;
public Game() {
this.updateNeeded = false;
this.players = new HashMap<>();
this.sessions = new HashMap<>();
this.settings = new GameSettings();