bevy_debugger_mcp 0.1.8

AI-assisted debugging for Bevy games through Claude Code using Model Context Protocol
Documentation
/// Custom Debug Markers and Labels Implementation
/// 
/// Provides customizable debug markers, labels, and annotations that can be
/// placed in 3D space or as UI overlays for debugging purposes.

use super::{OverlayMetrics, VisualOverlay};
use crate::brp_messages::DebugOverlayType;
use bevy::prelude::*;

/// Custom Markers Overlay implementation (stub for now)
#[derive(Debug)]
pub struct CustomMarkersOverlay {
    enabled: bool,
    metrics: OverlayMetrics,
}

impl CustomMarkersOverlay {
    pub fn new() -> Self {
        Self {
            enabled: false,
            metrics: OverlayMetrics::default(),
        }
    }
}

impl Default for CustomMarkersOverlay {
    fn default() -> Self {
        Self::new()
    }
}

impl VisualOverlay for CustomMarkersOverlay {
    fn initialize(&mut self, _app: &mut App) {
        info!("Custom markers overlay initialized (placeholder)");
    }
    
    fn update_config(&mut self, _config: &serde_json::Value) -> Result<(), String> {
        Ok(())
    }
    
    fn set_enabled(&mut self, enabled: bool) {
        self.enabled = enabled;
    }
    
    fn is_enabled(&self) -> bool {
        self.enabled
    }
    
    fn get_metrics(&self) -> OverlayMetrics {
        self.metrics.clone()
    }
    
    fn overlay_type(&self) -> DebugOverlayType {
        DebugOverlayType::Custom("markers".to_string())
    }
    
    fn cleanup(&mut self) {
        // Placeholder
    }
}