()
| 443 | } |
| 444 | |
| 445 | private void sendFunction() |
| 446 | { |
| 447 | function = bestFunction[this.currentTurnSoldier].function.simplifyFunction().getStringFunction(); |
| 448 | bestAngle = bestFunction[this.currentTurnSoldier].angle; |
| 449 | |
| 450 | //System.out.println(this.getName()+":"); |
| 451 | //System.out.println(bestFunction[this.currentTurnSoldier].function.getStringFunction()); |
| 452 | //System.out.println(function); |
| 453 | |
| 454 | graphwar.getGameData().setAngle(bestAngle); |
| 455 | graphwar.getGameData().sendFunction(function); |
| 456 | |
| 457 | //if(sayFunc) |
| 458 | //{ |
| 459 | // graphwar.getGameData().sendChatMessage(this, function); |
| 460 | //} |
| 461 | |
| 462 | } |
| 463 | |
| 464 | } |
no test coverage detected