Disable multiple until it's fixed

This commit is contained in:
Charles Gould 2017-10-15 15:27:36 -04:00
parent 9b58cdb647
commit 9ba6f1ca9d
2 changed files with 3 additions and 3 deletions

View File

@ -156,8 +156,8 @@ public class MultiplayerPresenter implements FxmlController {
executorService.execute(() -> { executorService.execute(() -> {
stompTemplate.subscribe("/user" + Destinations.OPPONENT_JOINED, new OpponentJoinedHandler(), stompTemplate.subscribe("/user" + Destinations.OPPONENT_JOINED, new OpponentJoinedHandler(),
subscription -> subscriptionsLatch.countDown()); subscription -> subscriptionsLatch.countDown());
stompTemplate.subscribe("/user" + Destinations.OPPONENT_LEFT, new OpponentLeftHandler(), //stompTemplate.subscribe("/user" + Destinations.OPPONENT_LEFT, new OpponentLeftHandler(),
subscription -> subscriptionsLatch.countDown()); // subscription -> subscriptionsLatch.countDown());
stompTemplate.subscribe("/user" + Destinations.OPPONENT_REPORTS, new OpponentReportHandler(), stompTemplate.subscribe("/user" + Destinations.OPPONENT_REPORTS, new OpponentReportHandler(),
subscription -> subscriptionsLatch.countDown()); subscription -> subscriptionsLatch.countDown());
stompTemplate.subscribe("/user" + Destinations.PLAYER_REPORTS, new PlayerReportHandler(), stompTemplate.subscribe("/user" + Destinations.PLAYER_REPORTS, new PlayerReportHandler(),

View File

@ -18,7 +18,7 @@
<VBox spacing="20" alignment="CENTER"> <VBox spacing="20" alignment="CENTER">
<children> <children>
<Button text="Practice" onAction="#showSinglePlayer" prefWidth="350" styleClass="game-mode" /> <Button text="Practice" onAction="#showSinglePlayer" prefWidth="350" styleClass="game-mode" />
<Button text="Multiplayer" onAction="#showMultiplayer" prefWidth="350" styleClass="game-mode" /> <Button text="Multiplayer" onAction="#showMultiplayer" prefWidth="350" styleClass="game-mode" disable="true" />
</children> </children>
</VBox> </VBox>
</center> </center>