Update flower entity to spawn snails based on game state.
- Added Snail entity with states for eating and sleeping. - Modified Flowers script to handle snail spawning logic.
This commit is contained in:
parent
9988ee23de
commit
908f834181
8 changed files with 143 additions and 2 deletions
4
entities/scripts/snail.gd
Normal file
4
entities/scripts/snail.gd
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
extends Sprite2D
|
||||
class_name Snail
|
||||
|
||||
var eating : bool = false
|
||||
Loading…
Add table
Add a link
Reference in a new issue