mirror of
https://github.com/a-b-street/abstreet.git
synced 2024-12-20 21:01:33 +03:00
1 line
987 B
JavaScript
1 line
987 B
JavaScript
initSidebarItems({"enum":[["WorldOutcome","The result of a `World` handling an event"]],"mod":[["unzoomed",""],["world",""]],"struct":[["DrawUnzoomedShapes","Draw `Circles` and `PolyLines` in map-space that scale their size as the canvas is zoomed. The goal is to appear with roughly constant screen-space size, but for the moment, this is approximated by discretizing into 10 buckets. The scaling only happens when the canvas is zoomed out less than a value of 1.0."],["DummyID","If you don’t ever need to refer to objects in a `World`, you can auto-assign dummy IDs."],["ToggleZoomed","Draws one of two versions of something, based on whether the canvas is zoomed in past a threshold."],["ToggleZoomedBuilder",""],["World","A `World` manages objects that exist in “map-space”, the zoomable and pannable canvas. These objects can be drawn, hovered on, clicked, dragged, etc."]],"trait":[["ObjectID","Objects in a `World` are uniquely identified by this caller-specified type"]]}); |