Rename project structure with /core and /client

This commit is contained in:
Keavon Chambers
2021-03-27 02:26:55 -07:00
parent 18a8442b0e
commit 7bfb04a99a
64 changed files with 63 additions and 43 deletions
+18
View File
@@ -0,0 +1,18 @@
pub mod utils;
pub mod viewport;
pub mod window;
pub mod wrappers;
use wasm_bindgen::prelude::*;
#[wasm_bindgen(start)]
pub fn init() {
utils::set_panic_hook();
}
/// Send events
#[wasm_bindgen]
pub fn handle_event(event_name: String) {
// TODO: add payload
todo!()
}