From a58464efb016f2bf3314a3da40189cee6b378cfe Mon Sep 17 00:00:00 2001 From: Quaternions Date: Tue, 12 Sep 2023 00:05:30 -0700 Subject: [PATCH] how will I do this --- src/body.rs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/body.rs b/src/body.rs index a09141db..bd246630 100644 --- a/src/body.rs +++ b/src/body.rs @@ -49,6 +49,12 @@ impl InputState { pub fn get_control(&self,control:u32) -> bool { self.controls&control!=0 } + pub fn process_instruction(&mut self,ins:InputInstruction){ + match ins { + InputInstruction::MoveMouse(m) => todo!("set mouse_interpolation"), + InputInstruction::Jump(b) => todo!("how does info about style modifiers get here"), + } + } } pub struct MouseInterpolationState {