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

Method refreshGameButton

src/Graphwar/GlobalScreen.java:296–316  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

294 }
295
296 public void refreshGameButton()
297 {
298 SwingUtilities.invokeLater(
299 new Runnable()
300 {
301 public void run()
302 {
303 if(graphwar.getGameData().getGameState() == Constants.NONE)
304 {
305 gameRoomButton.setVisible(false);
306 }
307 else
308 {
309 gameRoomButton.setVisible(true);
310 }
311
312 repaint();
313 }
314 }
315 );
316 }
317
318 public void refreshPlayers()
319 {

Callers 4

actionPerformedMethod · 0.80
actionPerformedMethod · 0.80
connectMethod · 0.80
stopGameMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected