I'm creating a simple simulation of gas station as homework. The total duration of the simulation is the week. Filling cars is approximately 3 minutes depending on the type of fuel. Cars may be collected in a queue. Now the question. I know how to implement these methods, but have no idea how to simulate a period of time without methods like a
P.S. I'm using JavaFX framework for this task. Cars are represented as
javafx.scene.shape.Rectangle and their movements through
Tranlsate methods. Dispensers too.