Structs

As a simulation runs, different pieces emit Events. The Analytics object listens to these, organizing and storing some information from them. The UI queries Analytics to draw time-series and display statistics.

A sliding window, used to count something over time

See https://github.com/a-b-street/abstreet/issues/85

Enums