The Game Manager
The Game Manager
is a script or node responsible for the Game Loop. It handles:
is a script or node responsible for the Game Loop. It handles:
- Initialization: Setting up the game when the scene loads (resetting score, connecting signals).
- State Control: Deciding when the game Starts, Ends, Pauses, or Restarts.
- Orchestration: Telling other independent systems what to do (e.g., telling the Spawner to start spawning, or the UI to show the "Game Over" box).