pub fn try_context_menu(&self, underneath: glm::Vec2, camera: &Camera, color_scheme: &ColorScheme) -> Option<ContextMenu> {
        for self_reference in self.get_squids_highest() {
            if let Some(value) = self.get(self_reference) {
                if let Some(new_context_menu) = value.try_context_menu(underneath, camera, self_reference, color_scheme) {
                    return Some(new_context_menu);
                }
            }
        }

        None
    }
// Tries to get a context menu for a squid underneath a point
Tries to get a context menu for a squid underneath a point
Tries to get a context menu for a squid underneath a point
pub fn try_context_menu(&self, underneath: glm::Vec2, camera: &Camera, color_scheme: &ColorScheme) -> Option<ContextMenu> {
        for self_reference in self.get_squids_highest() {
            if let Some(value) = self.get(self_reference) {
                if let Some(new_context_menu) = value.try_context_menu(underneath, camera, self_reference, color_scheme) {
                    return Some(new_context_menu);
                }
            }
        }
        None
    }
pub fn try_context_menu ( & self , underneath : glm :: Vec2 , camera : & Camera , color_scheme : & ColorScheme ) -> Option < ContextMenu > { for self_reference in self . get_squids_highest ( ) { if let Some ( value ) = self . get ( self_reference ) { if let Some ( new_context_menu ) = value . try_context_menu ( underneath , camera , self_reference , color_scheme ) { return Some ( new_context_menu ) ; } } } None }
Tries to get a context menu for a squid underneath a point
Tries to get a context menu for a squid underneath a point
&self
underneath
glm::Vec2
camera
&Camera
color_scheme
&ColorScheme
&self
underneath
glm::Vec2
camera
&Camera
color_scheme
&ColorScheme