Function pixel_engine::start

source ·
pub fn start<G: Game + 'static>(
    title: impl AsRef<str>,
    size: impl Into<Vu2d>,
    scale: u32
)
Expand description

Utility function that manage the engine, create the game instance and runs it This will also work on WebAssembly