Removed unnecessary changes outside of scope of the task
This commit is contained in:
parent
86ee59c232
commit
8b06ea52ab
@ -135,14 +135,10 @@ public class OrcKing {
|
|||||||
Then it is used as follows
|
Then it is used as follows
|
||||||
|
|
||||||
```java
|
```java
|
||||||
public class Main() {
|
OrcKing king = new OrcKing();
|
||||||
public static void main(String[] args) {
|
king.makeRequest(new Request(RequestType.DEFEND_CASTLE, "defend castle")); // Orc commander handling request "defend castle"
|
||||||
OrcKing king = new OrcKing();
|
king.makeRequest(new Request(RequestType.TORTURE_PRISONER, "torture prisoner")); // Orc officer handling request "torture prisoner"
|
||||||
king.makeRequest(new Request(RequestType.DEFEND_CASTLE, "defend castle")); // Orc commander handling request "defend castle"
|
king.makeRequest(new Request(RequestType.COLLECT_TAX, "collect tax")); // Orc soldier handling request "collect tax"
|
||||||
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"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
```
|
```
|
||||||
|
|
||||||
## Applicability
|
## Applicability
|
||||||
|
Loading…
x
Reference in New Issue
Block a user