Skip to content

Commit dfcdfcf

Browse files
committed
Simulation added for double cross road -doesn't work though
1 parent 2958c5d commit dfcdfcf

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

gui/src/main/java/kcl/teamIndexZero/traffic/gui/SimulationImageProducer.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ public SimulationImageProducer(SimulationMap map, BiConsumer<BufferedImage, Simu
4545
public void tick(SimulationTick tick) {
4646
graphics.setBackground(Color.WHITE);
4747
graphics.clearRect(0, 0, image.getWidth(), image.getHeight());
48+
new GUI_Primitives().drawDoubleCrossRoad(20,50,50,50,20,50,20,15,graphics);
4849

4950
map.getObjectsOnMap().forEach(object -> {
5051
graphics.setColor(object.getColor());

0 commit comments

Comments
 (0)