From 943c3ca1c2958775a2c938cc69a42d00b617d3a4 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 a09141d..bd24663 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 {