Skip to content

Fixed undefined ordering of the Turtle color array to conform to docs of setzeFarbe(int)

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).

Edited by Huber-Saffer, Lasse

Merge request reports

Loading