Fixed collision detection
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user