vor fx
This commit is contained in:
@@ -1,9 +1,10 @@
|
||||
package UE21_290425_Bruecke;
|
||||
|
||||
public class Variables {
|
||||
public static final int MAX_WAITING_CARS = 2;
|
||||
public static final int MAX_CAR_INTERVAL = 5;
|
||||
public static final int CROSSING_TIME = 30_000;
|
||||
public static final int MAX_CARS_ON_BRIDGE = 3;
|
||||
public static final int PRINT_INTERVAL = 2_000;
|
||||
public static final int MAX_WAITING_CARS = 999_999_999; // Can be used so that the programm doesn't run infinite
|
||||
public static final int MAX_CAR_INTERVAL = 5; // Maximal Intervall in witch the cars can arrive (1 - X seconds)
|
||||
public static final int CROSSING_TIME = 30_000; // The time a car needs to cross the bridge
|
||||
public static final int MAX_CARS_ON_BRIDGE = 3; // Maximal amount of cars on the bridge at the same time
|
||||
public static final int PRINT_INTERVAL = 2_000; // Amount of seconds between every Statistics output
|
||||
public static final boolean SHOW_CARS = true; // Decide if you want a graphical visualisation
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user