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

Method stop

src/Graphwar/GlobalClient.java:529–541  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

527 }
528
529 public void stop()
530 {
531 if(roomCreated)
532 {
533 closeRoom();
534 }
535
536 quitGlobal();
537 disconnect(false);
538
539 ((PreGameScreen)graphwar.getUI().getScreen(Constants.PRE_GAME_SCREEN)).refreshGlobalButton();
540 ((GameScreen)graphwar.getUI().getScreen(Constants.GAME_SCREEN)).refreshGlobalButton();
541 }
542
543 public void sendRoomStatus()
544 {

Callers

nothing calls this directly

Calls 6

closeRoomMethod · 0.95
quitGlobalMethod · 0.95
disconnectMethod · 0.95
getScreenMethod · 0.80
getUIMethod · 0.80
refreshGlobalButtonMethod · 0.45

Tested by

no test coverage detected