Skip to content
Snippets Groups Projects
Commit d463f126 authored by BELHACHEMI Mehdi's avatar BELHACHEMI Mehdi
Browse files

Mehdi and Mohamed : creating references of cloud class in SimulatorApplication...

Mehdi and Mohamed : creating references of cloud class in SimulatorApplication and element and view package
parent 08aa441c
No related branches found
No related tags found
No related merge requests found
......@@ -19,7 +19,7 @@ public class SimulatorApplication extends javafx.application.Application {
private static final int BOX_HEIGHT = 50;
public static final int INITIAL_FIRE_COUNT = 15;
public static final int INITIAL_FIREFIGHTER_COUNT = 10;
public static final int INITIAL_CLOUD_COUNT = 1;
public static final int INITIAL_CLOUD_COUNT = 10;
private Stage primaryStage;
......
package model;
public enum ModelElement {
FIREFIGHTER, FIRE
FIREFIGHTER, FIRE,CLOUD
}
......@@ -3,7 +3,7 @@ package view;
import javafx.scene.paint.Color;
public enum ViewElement {
FIREFIGHTER(Color.BLUE), FIRE(Color.RED), EMPTY(Color.WHITE);
FIREFIGHTER(Color.BLUE), FIRE(Color.RED),CLOUD(Color.PINK), EMPTY(Color.WHITE);
final Color color;
ViewElement(Color color) {
this.color = color;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment