(String msg)
| 678 | } |
| 679 | |
| 680 | private void handleCommands(String msg) |
| 681 | { |
| 682 | if(msg.startsWith("-")) |
| 683 | { |
| 684 | if(msg.compareToIgnoreCase("-sayfunc")==0) |
| 685 | { |
| 686 | sayFunc = true; |
| 687 | } |
| 688 | else if(msg.compareToIgnoreCase("-stopsayfunc")==0) |
| 689 | { |
| 690 | sayFunc = false; |
| 691 | } |
| 692 | else if(msg.compareToIgnoreCase("-shownext")==0) |
| 693 | { |
| 694 | ((GameScreen)graphwar.getUI().getScreen(Constants.GAME_SCREEN)).setNextMarker(true); |
| 695 | } |
| 696 | else if(msg.compareToIgnoreCase("-stopshownext")==0) |
| 697 | { |
| 698 | ((GameScreen)graphwar.getUI().getScreen(Constants.GAME_SCREEN)).setNextMarker(false); |
| 699 | } |
| 700 | } |
| 701 | } |
| 702 | |
| 703 | private void setModeMessage(String[] info) throws Exception |
| 704 | { |
no test coverage detected