import React, { useCallback } from "react" import styles from '../styles/Background.module.css'; import Tower from "./Tower"; import Army from "./Army"; import MarchingBand from "./MarchingBand"; import MusicPlayer from "./MusicPlayer"; import { usePlayer } from "../providers/PlayerProvider"; const Scene = () => { const { isRegistered } = usePlayer(); const handleMusicReady = useCallback((unmute: () => void) => { if (isRegistered) { unmute(); } }, [isRegistered]); return