Module game_logic::rendering::event_loop [−][src]
Expand description
The Event Loop module
Overview
This is the code that handles beginning each frame and ending it. Do not try to add your own game logic in here.
The event loop function has its own statemachine (core_renderer_sm.rs
) that handles the current action.
You can think of this as a bit of bootstrap code for the game. All that happens directly here is rendering of the loading screen and a bit of error handling.
Functions
Will begin rendering graphics. Returns when the window closes