bevy_debugger_mcp 0.1.8

AI-assisted debugging for Bevy games through Claude Code using Model Context Protocol
Documentation
/// System Execution Flow Visualization Overlay Implementation
/// 
/// Provides visual representation of system execution order, dependencies,
/// and performance metrics in real-time.

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

/// System Flow Overlay implementation (stub for now)
#[derive(Debug)]
pub struct SystemFlowOverlay {
    enabled: bool,
    metrics: OverlayMetrics,
}

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

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

impl VisualOverlay for SystemFlowOverlay {
    fn initialize(&mut self, _app: &mut App) {
        info!("System flow 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::SystemFlow
    }
    
    fn cleanup(&mut self) {
        // Placeholder
    }
}