finished off the update function

This commit is contained in:
Nickiel12 2021-12-29 21:09:50 -08:00
parent a3c20fba0f
commit 125625c94c

View file

@ -60,8 +60,8 @@ impl StreamState {
self.scene_is_augmented = new_val;
self.change_scene(&Scenes::Augmented)},
StateUpdate::UpdateClient => todo!(),
StateUpdate::ComputerMediaDoPause(do_pause) => todo!(),
StateUpdate::ChangeSlide(value) => todo!(),
StateUpdate::ComputerMediaDoPause(do_pause) => {self.computer_sound_is_on = do_pause;},
StateUpdate::ChangeSlide(_value) => {panic!("Stream_states_class is not supposed to get this update type");},
}
}