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

FirefighterBoard : modify the constructor

parent 7c59a88a
No related branches found
No related tags found
No related merge requests found
......@@ -26,10 +26,8 @@ public class FirefighterBoard implements Board<List<ModelElement>> {
this.initialFireCount = initialFireCount;
this.initialFirefighterCount = initialFirefighterCount;
this.positions = new Position[rowCount][columnCount];
initializePositions();
initializeNeighbors();
// Initialize managers
this.fireManager = new FireManager(new HashSet<>());
this.firefighterManager = new FirefighterManager(new ArrayList<>(), fireManager);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment