how will I do this

This commit is contained in:
Quaternions 2023-09-12 00:05:30 -07:00
parent 5174b13ba0
commit 943c3ca1c2

View File

@ -49,6 +49,12 @@ impl InputState {
pub fn get_control(&self,control:u32) -> bool { pub fn get_control(&self,control:u32) -> bool {
self.controls&control!=0 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 { pub struct MouseInterpolationState {