Expand description
Trains simulator, implemented using bevy.
Currently relying on nightly Rust due to using some unfinished features (mainly generic_const_exprs).
Modules§
- editor
- Manages track editing, placing signals, etc.
- game
- Basic “game” utilities, like managing a camera, updating stored cursor position, etc.
- shape
- Module containing the shapes that back track segments.
- sim
- Module containing the main parts of the simulation.
- ui
- Module containing all of the app’s UI.
- utils
- Collection of miscellaneous things that didn’t fit anywhere else.
Structs§
Enums§
- AppState
- Main state. All other states depend on this. This will handle switching between any “main screen” and the actual simulation in the future.
- Asset
Type