Legger til manglende mellomrom for bedre kodestil

This commit is contained in:
2020-04-16 15:33:31 +02:00
parent b5eae63892
commit a2dc09f48c
3 changed files with 12 additions and 12 deletions

View File

@@ -580,7 +580,7 @@ public class RoboRallyGame implements IRoboRallyGame {
* Checks all flags for robots. Tries to update the flag of the robot.
*/
private void checkAllFlags() {
for (BoardElementContainer<Tile> flag:flags) {
for (BoardElementContainer<Tile> flag : flags) {
Position flagPosition = flag.getPosition();
if (gameBoard.hasRobotOnPosition(flagPosition)) {
RobotID robotID = gameBoard.getRobotOnPosition(flagPosition);