Commit graph

4 commits

Author SHA1 Message Date
Matthew Mone
06389903c5 Enhance GameLoop and MissionManager integration for unit death handling and mission events
Refactor the GameLoop to implement unit death handling through the new handleUnitDeath method, which removes units from the grid and dispatches relevant events to the MissionManager. Set up MissionManager references and event listeners for mission victory and failure. Update the MissionManager to manage secondary objectives and failure conditions, ensuring proper tracking of game events like unit deaths and turn ends. This integration improves gameplay dynamics and mission management.
2025-12-30 20:56:41 -08:00
Matthew Mone
8d037bcd4d Enhance game state management by adding detailed type definitions and documentation for GameStateManager, GameLoop, Persistence, and other core components. Improve input handling in InputManager and refine unit management in RosterManager and UnitManager. Update VoxelGrid and VoxelManager for better spatial data handling and rendering. Integrate new features for mission management and narrative flow, ensuring comprehensive coverage of game mechanics and state transitions. 2025-12-22 12:55:41 -08:00
Matthew Mone
da55cafc8f Enhance game state management and UI integration for combat and deployment phases. Introduce CombatHUD and update DeploymentHUD to reflect current game state. Refactor GameLoop and GameStateManager to manage state transitions more effectively. Implement asset copying for JSON files in the build process. Add tests for new functionalities and ensure proper state handling during gameplay. 2025-12-21 21:20:33 -08:00
Matthew Mone
ec25c71eb1 Refactor mission management and game state integration. Replace tutorial mission initiation with a new game start function. Update mission JSON schema to enhance narrative and objective handling. Introduce MissionManager for mission state management and integrate with GameStateManager for improved game flow. Enhance UI components for squad management and deployment. Include tests for new mission and narrative functionalities. 2025-12-21 20:40:48 -08:00