mirror of
https://github.com/a-b-street/abstreet.git
synced 2024-12-29 01:13:53 +03:00
1 line
730 B
JavaScript
1 line
730 B
JavaScript
initSidebarItems({"enum":[["DrawBaselayer","Before `State::draw` is called, draw something else."],["Transition","When a state responds to an event, it can specify some way to manipulate the stack of states."]],"struct":[["App",""],["SimpleStateWrapper",""]],"trait":[["SharedAppState","Any data that should last the entire lifetime of the application should be stored in the struct implementing this trait."],["SimpleState","Many states fit a pattern of managing a single panel, handling mouseover events, and other interactions on the map. Implementing this instead of `State` reduces some boilerplate."],["State","A temporary state of an application. There’s a stack of these, with the most recent being the active one."]]}); |