//! Basic window setup code use crate::{ctx, state::ClientState, GameSettings}; use ggez::event; /// Start the main event loop with game settings and state pub fn run(settings: &GameSettings, state: ClientState) -> ! { let (ctx, eloop) = ctx::build(settings).build().unwrap(); event::run(ctx, eloop, state) }