MCPcopy Create free account
hub / github.com/catabriga/graphwar / createGame

Method createGame

src/Graphwar/Graphwar.java:157–165  ·  view source on GitHub ↗
(int port)

Source from the content-addressed store, hash-verified

155 }
156
157 public void createGame(int port) throws IOException
158 {
159 gameServer = new GraphServer(port);
160 new Thread(gameServer).start();
161
162 gameData.connect("localhost", port);
163
164 graphUI.setScreen(Constants.PRE_GAME_SCREEN);
165 }
166}

Callers 2

actionPerformedMethod · 0.80
actionPerformedMethod · 0.80

Calls 3

startMethod · 0.80
connectMethod · 0.80
setScreenMethod · 0.80

Tested by

no test coverage detected