how will I do this

This commit is contained in:
Quaternions 2023-09-12 00:05:30 -07:00
parent b070b9706f
commit a58464efb0

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 {