Fixed undefined ordering of the Turtle color array to conform to docs of setzeFarbe(int)
Compare changes
- Huber-Saffer, Lasse authored
# Conflicts: # Turtle.java
.gitignore
0 → 100644
+ 2
− 0
Wartung heute um 18:25 wegen einer Sicherheitswarnung von GitLab
Changed type of the String-Color-Map to LinkedHashMap to guarantee the specified insertion order. The previous type was HashMap, which does not guarantee any specific order. The method javadocs of Turtle#setzeFarbe(int) demand an order of black (0) to yellow (12).
# Conflicts: # Turtle.java