Slight improvements to hosting.

Allow a host/client to disconnect and reconnect/make lobby, leave lobby and play the game.

#pair[kre39,hyi25] #story[1047]
This commit is contained in:
Kusal Ekanayake
2017-07-27 12:45:22 +12:00
parent 34704bd93d
commit 870dc07fd2
8 changed files with 64 additions and 28 deletions
+2
View File
@@ -7,6 +7,7 @@ import javafx.scene.Scene;
import javafx.scene.image.Image;
import javafx.stage.Stage;
import seng302.client.ClientPacketParser;
import seng302.client.ClientState;
import seng302.models.PolarTable;
import seng302.models.stream.StreamReceiver;
@@ -31,6 +32,7 @@ public class App extends Application {
System.exit(0);
});
ClientState.primaryStage = primaryStage;
}
public static void main(String[] args) {