Core systems provide the foundational logic and structure for the game. These systems interact with each other to coordinate high-level gameplay.
- RTSController: The central orchestrator for RTS-specific mechanics, such as unit selection and command issuance.
- Raycaster: Handles raycasting for object detection, used for unit selection, targeting, and other interactions.
- CameraController: Controls camera movement, zoom, and player navigation.
flowchart TD
subgraph RTSController
SelectionManager
CommandManager
Raycaster
end
PlayerInput --> RTSController
RTSController --> SelectionManager
RTSController --> CommandManager
RTSController --> Raycaster
SelectionManager -->|Selects Units| Entities
CommandManager -->|Issues Commands| Entities
Raycaster -->|Provides Target Info| CommandManager