diff options
| author | LLLL Colonq <llll@colonq> | 2026-05-02 16:16:04 -0400 |
|---|---|---|
| committer | LLLL Colonq <llll@colonq> | 2026-05-02 16:16:04 -0400 |
| commit | d3bd791297d6aaa7abaf613aafbec99a7bb17823 (patch) | |
| tree | ace9b887fc57681dcbe8a468278cdc74ecff1b2c /src/lib.rs | |
| parent | ea5929c74a4e01bcbc776832b5597fceb5261a31 (diff) | |
Eating soup!
Diffstat (limited to 'src/lib.rs')
| -rw-r--r-- | src/lib.rs | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -1,4 +1,5 @@ mod game; +mod room; #[cfg(target_arch = "wasm32")] use wasm_bindgen::prelude::*; @@ -6,5 +7,7 @@ use wasm_bindgen::prelude::*; #[cfg(target_arch = "wasm32")] #[wasm_bindgen] pub fn main_js() { - teleia::run(240, 160, teleia::Options::empty(), game::Game::new); + teleia::run(240, 160, teleia::Options::empty(), + |ctx| game::Game::new(ctx, "broken path") + ); } |
