Add: Added SKipTurn Button and Details Button. Fixed: TCP now display leaderboard
This commit is contained in:
@@ -161,18 +161,14 @@ public class TCPClient implements IClient {
|
||||
if (event.getIsError()) {
|
||||
controller.view.showError(event.toString());
|
||||
} else {
|
||||
synchronized (controller) {
|
||||
event.apply(controller.miniModel);
|
||||
}
|
||||
controller.view.render();
|
||||
|
||||
controller.view.applyAndRender(event);
|
||||
}
|
||||
|
||||
} else if (read instanceof MiniModel model) {
|
||||
synchronized (controller) {
|
||||
controller.setModel(model);
|
||||
controller.view.render();
|
||||
}
|
||||
controller.view.render();
|
||||
}
|
||||
|
||||
} catch (ClassNotFoundException e) {
|
||||
|
||||
Reference in New Issue
Block a user