Skip to content

Latest commit

 

History

History
26 lines (21 loc) · 971 Bytes

README.md

File metadata and controls

26 lines (21 loc) · 971 Bytes

Core Systems

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.

Diagram

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

Loading