pub fn preclick(&mut self) {
        let unordered_squids: Vec<SquidRef> = self.ocean.get_squids_unordered().collect();

        for reference in unordered_squids {
            if let Some(squid) = self.ocean.get_mut(reference) {
                squid.interact(&Interaction::PreClick, &self.camera.get_animated(), &self.interaction_options);
            }
        }
    }
// Tries to interact with any already selected squids
// Returns whether interaction was captured
Tries to interact with any already selected squids
Returns whether interaction was captured
Tries to interact with any already selected squids Returns whether interaction was captured
pub fn preclick(&mut self) {
        let unordered_squids: Vec<SquidRef> = self.ocean.get_squids_unordered().collect();
        for reference in unordered_squids {
            if let Some(squid) = self.ocean.get_mut(reference) {
                squid.interact(&Interaction::PreClick, &self.camera.get_animated(), &self.interaction_options);
            }
        }
    }
pub fn preclick ( & mut self ) { let unordered_squids : Vec < SquidRef > = self . ocean . get_squids_unordered ( ) . collect ( ) ; for reference in unordered_squids { if let Some ( squid ) = self . ocean . get_mut ( reference ) { squid . interact ( & Interaction :: PreClick , & self . camera . get_animated ( ) , & self . interaction_options ) ; } } }
Tries to interact with any already selected squids
Returns whether interaction was captured
Tries to interact with any already selected squids Returns whether interaction was captured
&mut self
&mut self