blob: 0060ab3e2a8d36c8594edfe90d6ed66ba9abad08 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
mod game;
mod room;
#[cfg(target_arch = "wasm32")]
use wasm_bindgen::prelude::*;
#[cfg(target_arch = "wasm32")]
#[wasm_bindgen]
pub fn main_js() {
teleia::run(240, 160, teleia::Options::empty(),
|ctx| game::Game::new(ctx, "broken path")
);
}
|