debug x1
This commit is contained in:
parent
85f74a30a1
commit
45ae8ed52f
@ -64,6 +64,7 @@ public class GameRoom extends Thread {
|
|||||||
this.socks = new ConcurrentHashMap<>();
|
this.socks = new ConcurrentHashMap<>();
|
||||||
this.state = GameState.MOVE;
|
this.state = GameState.MOVE;
|
||||||
this.manager = new ConcurrentHashMap<>();
|
this.manager = new ConcurrentHashMap<>();
|
||||||
|
log.info("GameRoomManagerState: yup");
|
||||||
Arrays.stream(GameState.values()).forEach(s -> {
|
Arrays.stream(GameState.values()).forEach(s -> {
|
||||||
try {
|
try {
|
||||||
this.manager.put(s, s.getManagerClass().getDeclaredConstructor().newInstance(this));
|
this.manager.put(s, s.getManagerClass().getDeclaredConstructor().newInstance(this));
|
||||||
@ -71,6 +72,8 @@ public class GameRoom extends Thread {
|
|||||||
log.error(e.getMessage());
|
log.error(e.getMessage());
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
log.info("GameRoomManager: {}", this.manager.keySet());
|
||||||
|
log.info("GameRoomManagerVals: {}", this.manager.values());
|
||||||
this.initBoard();
|
this.initBoard();
|
||||||
this.start();
|
this.start();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user