Skip to content
Snippets Groups Projects
Commit 9e33167b authored by ousseyn01's avatar ousseyn01
Browse files

Modification of Simulator for Mountain

parent 165d228f
No related branches found
No related tags found
No related merge requests found
......@@ -19,6 +19,8 @@ public class SimulatorApplication extends javafx.application.Application {
private static final int BOX_HEIGHT = 50;
public static final int INITIAL_FIRE_COUNT = 3;
public static final int INITIAL_FIREFIGHTER_COUNT = 6;
private static final int INITIAL_CLOUD_COUNT = 5;
private static final int INITIAL_MOUNTAIN_COUNT = 5;
private Stage primaryStage;
private Parent view;
......@@ -44,7 +46,7 @@ public class SimulatorApplication extends javafx.application.Application {
view = loader.load();
Controller controller = loader.getController();
controller.initialize(BOX_WIDTH, BOX_HEIGHT, COLUMN_COUNT, ROW_COUNT,
INITIAL_FIRE_COUNT, INITIAL_FIREFIGHTER_COUNT);
INITIAL_FIRE_COUNT, INITIAL_FIREFIGHTER_COUNT, INITIAL_CLOUD_COUNT, INITIAL_MOUNTAIN_COUNT);
}
private void showScene() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment