import React from "react"; import { Box, Paper, Stack, Typography } from "@mui/material"; import { Timer as TimerIcon, LocationOn as LocationIcon, Psychology as PsychologyIcon, Person as PersonIcon, Palette as PaletteIcon, } from "@mui/icons-material"; const DebugItem = ({ icon, label, value }) => ( {icon} {label}: {value} ); export const GameDebugPanel = ({ gameState, currentStory, visible }) => { if (!visible) return null; return ( {/* Universe Info */} UNIVERSE } label="Style" value={ gameState?.universe_style?.name || gameState?.universe_style } /> {gameState?.universe_style?.selected_artist && ( } label="Artist" value={gameState.universe_style.selected_artist} /> )} {/* Game State */} GAME STATE } label="Time" value={currentStory?.time} /> } label="Location" value={currentStory?.location} /> } label="Story Beat" value={gameState?.story_beat} /> ); };