/** Updates the shared state and thus send changes to all clients. */ private void updateSharedState() { sharedState.setModel(gameModel); }