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

Method setLeaderMessage

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

Source from the content-addressed store, hash-verified

1152 }
1153
1154 private void setLeaderMessage(String[] info) throws Exception
1155 {
1156 this.leader = true;
1157
1158 ((PreGameScreen)graphwar.getUI().getScreen(Constants.PRE_GAME_SCREEN)).refreshBoard();
1159 ((PreGameScreen)graphwar.getUI().getScreen(Constants.PRE_GAME_SCREEN)).addChat(null, "You are now the room leader.");
1160 }
1161
1162 private class Countdowner implements Runnable
1163 {

Callers 1

handleMessageMethod · 0.95

Calls 4

refreshBoardMethod · 0.80
getScreenMethod · 0.80
getUIMethod · 0.80
addChatMethod · 0.45

Tested by

no test coverage detected