mirror of
				https://github.com/inf112-v20/Fiasko.git
				synced 2025-11-03 03:03:43 +01:00 
			
		
		
		
	Merge branch 'master' of https://github.com/inf112-v20/Fiasko
This commit is contained in:
		@@ -444,6 +444,7 @@ public class Board {
 | 
			
		||||
        int flagNr = flagID.getTileTypeID() % 16;
 | 
			
		||||
        if (flagNr - 1 == robot.getLastFlagVisited()) {
 | 
			
		||||
            robot.setLastFlagVisitedAndUpdateBackupPosition(flagNr);
 | 
			
		||||
            setHasTouchedFlagThisTurnFromRobotID(robotID, true);
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -73,7 +73,6 @@ public class Phase {
 | 
			
		||||
                continue;
 | 
			
		||||
            }
 | 
			
		||||
            gameBoard.updateFlagOnRobot(robotID, flag.getElement().getTileType());
 | 
			
		||||
            gameBoard.setHasTouchedFlagThisTurnFromRobotID(robotID, true);
 | 
			
		||||
            checkIfPlayerWon(robotID, flags.size());
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user