Refactoring for server package, Changed GameServerThread to MainServerThread.

All Server classes now in single gameServer package

tags: #story[1055]
This commit is contained in:
William Muir
2017-07-20 11:22:30 +12:00
parent b301ce5d27
commit 8f00f3a80c
9 changed files with 85 additions and 437 deletions
@@ -8,8 +8,7 @@ import javafx.scene.layout.GridPane;
import javafx.scene.layout.Pane;
import seng302.client.ClientToServerThread;
import seng302.gameServer.GameState;
import seng302.gameServerWithThreading.MainServerThread;
import seng302.models.stream.StreamReceiver;
import seng302.gameServer.MainServerThread;
import java.io.IOException;
import java.net.InetAddress;
@@ -64,7 +63,6 @@ public class StartScreenController {
String ipAddress = InetAddress.getLocalHost().getHostAddress();
new GameState(ipAddress);
new MainServerThread().start();
// new GameServerThread("Fuck you");
// get the lobby controller so that we can pass the game server thread to it
setContentPane("/views/LobbyView.fxml");