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

Method nextTurn

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

Source from the content-addressed store, hash-verified

527 }
528
529 private void nextTurn()
530 {
531 if(checkGameFinished())
532 {
533 String message = NetworkProtocol.GAME_FINISHED+"";
534 serverConnection.sendMessage(message);
535 }
536 else
537 {
538 String message = NetworkProtocol.READY_NEXT_TURN+"";
539 serverConnection.sendMessage(message);
540 }
541 }
542
543 private void addSoldierMessage(String[] info) throws Exception
544 {

Callers 3

removePlayerMessageMethod · 0.95
getTimeExplodingMethod · 0.95
nextTurnMessageMethod · 0.45

Calls 2

checkGameFinishedMethod · 0.95
sendMessageMethod · 0.45

Tested by

no test coverage detected