diff options
Diffstat (limited to 'crates/client/src/client.rs')
| -rw-r--r-- | crates/client/src/client.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/crates/client/src/client.rs b/crates/client/src/client.rs index d03dcf1..2c03286 100644 --- a/crates/client/src/client.rs +++ b/crates/client/src/client.rs @@ -22,9 +22,9 @@ impl teleia::state::Game for Game { ("test".to_owned(), audio::Audio::new(&actx, include_bytes!("client/assets/audio/test.wav"))), ]) } - fn finish_title(&mut self, _st: &mut state::State) {} - fn mouse_press(&mut self, _ctx: &context::Context, _st: &mut state::State) {} - fn mouse_move(&mut self, _ctx: &context::Context, _st: &mut state::State, _x: i32, _y: i32) {} + fn finish_title(&mut self, _ctx: &context::Context, _st: &mut state::State) -> Erm<()> { Ok(()) } + fn mouse_press(&mut self, _ctx: &context::Context, _st: &mut state::State) -> Erm<()> { Ok(()) } + fn mouse_move(&mut self, _ctx: &context::Context, _st: &mut state::State, _x: i32, _y: i32) -> Erm<()> { Ok(()) } fn update(&mut self, ctx: &context::Context, _st: &mut state::State) -> Erm<()> { Ok(()) } |
