Merge pull request #104 from rubenpirreram/GUI-2.0

G UI 2.0
This commit is contained in:
rubenpirreram
2026-05-16 10:44:04 +02:00
committed by GitHub
8 changed files with 559 additions and 173 deletions
@@ -53,15 +53,12 @@ public class ClientCallbackImpl extends UnicastRemoteObject implements IClientCa
*/
@Override
public void onAction(NetworkEvent event) throws RemoteException {
if(event.getIsError()) {
clientController.view.showError(event.toString());
} else {
synchronized (clientController)
{
event.apply(clientController.miniModel);
}
clientController.view.render();
}
synchronized (clientController) {
if(event.getIsError()) {
clientController.view.showError(event.toString());
} else {
clientController.view.applyAndRender(event);
}
}
}
}