fn handle_main_events_cleared(
    states: &mut Vec<Box<dyn PlayState>>,
    control_flow: &mut ControlFlow,
    global_state: &mut GlobalState
)