mirror of
https://github.com/inf112-v20/Fiasko.git
synced 2025-08-02 13:15:27 +02:00
Legger til manglende mellomrom for bedre kodestil
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user