#984 #987 update readmes

This commit is contained in:
Ilkka Seppälä
2019-11-12 22:12:47 +02:00
parent 33ea7335b1
commit 3c57bf7078
2 changed files with 58 additions and 33 deletions

View File

@ -135,7 +135,7 @@ public class OrcKing {
Then it is used as follows
```java
OrcKing king = new OrcKing();
var king = new OrcKing();
king.makeRequest(new Request(RequestType.DEFEND_CASTLE, "defend castle")); // Orc commander handling request "defend castle"
king.makeRequest(new Request(RequestType.TORTURE_PRISONER, "torture prisoner")); // Orc officer handling request "torture prisoner"
king.makeRequest(new Request(RequestType.COLLECT_TAX, "collect tax")); // Orc soldier handling request "collect tax"