Beispiel #1
0
 void switchLane(Position pos)
 {
     if (currentLane)
     {
         currentLane.ActivateLane(false);
     }
     currentLane = lanes[pos];
     currentLane.ActivateLane(true);
 }