Merge remote-tracking branch 'origin/main'

This commit is contained in:
romanschenk37
2022-03-25 20:57:19 +01:00
4 changed files with 30 additions and 23 deletions
@@ -202,13 +202,13 @@ class GameTest {
}
/**
* This Class is used to communicate with the UserInterface. It overrides crucial methods and returns an instruction based on the instructions data field.
* This Class is used to communicate with the UserInterface. It overrides crucial methods and returns an instruction based on the instructions' data field.
* To implement the right instructions the user has to be aware of the game sequence.
*/
private class interFace extends UserInterface {
private PositionVector.Direction[] directions;
private Integer[] instructions;
private final PositionVector.Direction[] directions;
private final Integer[] instructions;
private int pointerDir,pointerInstruction;