Files
SEW_Uebungen_2024.25/src/UE21_290425_Bruecke/Variables.java
Alexander Bachinger 37f7dd75ff vor fx
2025-05-16 15:19:08 +02:00

11 lines
742 B
Java

package UE21_290425_Bruecke;
public class Variables {
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
}