Commit graph

7 commits

Author SHA1 Message Date
Dan
f0a7c5ca05 Added health bar and snail behavior enhancements
- Introduced a health bar for flowers, which updates based on the current GameState values.
- Enhanced snail behavior with eating and sleeping states. Snails now have a chance to switch to the sleeping state while eating.
- Improved mouse interaction with snails, allowing them to potentially switch to sleep mode when clicked.
- Refactored cursor management into its own class for better code organization and readability.
- Updated drone placement logic to use the new CursorManager class.
- Added functionality for bees to replenish flower nectar levels after a certain number of deposits.
2024-05-15 13:57:31 +01:00
Dan
2a9e78b52e Refactor: Added explicit typing and void return types
- Introduced explicit typing to variables and functions across multiple scripts for better code clarity.
- Specified 'void' as the return type for functions that do not return a value.
- Removed redundant code in some scripts.
2024-05-15 10:42:16 +01:00
Dan
4b5ac48e10 Update cursor handling and reset functionality, improve UI elements. Reset game state cursor when needed. 2024-05-12 09:39:02 +01:00
Dan
f9865cf1fa Update drone placement logic, level loading functionality, and UI behavior. Set visibility of labels, manage mouse cursor changes, and handle game state for placing drones. 2024-05-10 18:49:51 +01:00
Dan
7009695327 Update drone and level scenes with new shapes, connections, and scripts. Add mouse interaction events for director drone. Include new level 2 & 3 scenes with various elements and components. 2024-05-09 18:43:38 +01:00
Dan
752131c955 Bee State Machine 2024-05-03 15:43:05 +01:00
Dan Baker
cfe0fb2e5a Adding more drone types 2024-05-02 19:22:34 +01:00