Skip to content

Commit

Permalink
Update with the new 1.9 Syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
agrignard committed Apr 10, 2023
1 parent b5c2edd commit 857672b
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions models/main.gaml
Original file line number Diff line number Diff line change
Expand Up @@ -312,14 +312,14 @@ experiment generalScenario type: gui benchmark: false keep_simulations: false {
species car aspect: realistic visible:show_car trace:3 fading: true position:{0.0,0.0,0.001};
species package aspect:base visible:show_package transparency: 0 position:{0.0,0.0,0.005};

event["b"] {show_building<-!show_building;}
event["r"] {show_road<-!show_road;}
event["s"] {show_chargingStation<-!show_chargingStation;}
event["s"] {show_gasStation<-!show_gasStation;}
event["f"] {show_restaurant<-!show_restaurant;}
event["d"] {show_package<-!show_package;}
event["a"] {show_autonomousBike<-!show_autonomousBike;}
event["c"] {show_car<-!show_car;}
event "b" {show_building<-!show_building;}
event "r" {show_road<-!show_road;}
event "s" {show_chargingStation<-!show_chargingStation;}
event "s" {show_gasStation<-!show_gasStation;}
event "f" {show_restaurant<-!show_restaurant;}
event "d" {show_package<-!show_package;}
event "a" {show_autonomousBike<-!show_autonomousBike;}
event "c" {show_car<-!show_car;}

graphics Strings {
if maxBatteryLifeAutonomousBike = 65000.0{
Expand Down

0 comments on commit 857672b

Please sign in to comment.