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

Method setModeMessage

src/Graphwar/GameData.java:703–712  ·  view source on GitHub ↗
(String[] info)

Source from the content-addressed store, hash-verified

701 }
702
703 private void setModeMessage(String[] info) throws Exception
704 {
705 int mode = Integer.parseInt(info[1]);
706
707 this.gameMode = mode;
708
709 ((PreGameScreen)graphwar.getUI().getScreen(Constants.PRE_GAME_SCREEN)).setMode(mode);
710
711 graphwar.getGlobalClient().sendRoomStatus();
712 }
713
714 private void setReadyMessage(String[] info) throws Exception
715 {

Callers 1

handleMessageMethod · 0.95

Calls 5

setModeMethod · 0.80
getScreenMethod · 0.80
getUIMethod · 0.80
getGlobalClientMethod · 0.80
sendRoomStatusMethod · 0.45

Tested by

no test coverage detected