Skip to content
Snippets Groups Projects
Commit 38f6b5a3 authored by AREZKI Celia's avatar AREZKI Celia
Browse files

FirefighterBoard : Modify the methode updateToNextGeneration

parent b522259a
No related branches found
No related tags found
No related merge requests found
......@@ -96,12 +96,12 @@ public class FirefighterBoard implements Board<List<ModelElement>> {
return columnCount;
}
/*public List<Position> updateToNextGeneration() {
public List<Position> updateToNextGeneration() {
List<Position> modifiedPositions = updateFirefighters();
modifiedPositions.addAll(updateFires());
step++;
return modifiedPositions;
}*/
}
private List<Position> updateFires() {
return fireManager.updateFires(step,neighbors);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment