summaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
authorLLLL Colonq <llll@colonq>2026-05-02 16:16:04 -0400
committerLLLL Colonq <llll@colonq>2026-05-02 16:16:04 -0400
commitd3bd791297d6aaa7abaf613aafbec99a7bb17823 (patch)
treeace9b887fc57681dcbe8a468278cdc74ecff1b2c /src/lib.rs
parentea5929c74a4e01bcbc776832b5597fceb5261a31 (diff)
Eating soup!
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 66f9771..0060ab3 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -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")
+ );
}