using Godot; namespace Newlon.Components.Plants.Behaviours; public partial class SunflowerBehaviour : Node { private AnimationPlayer _player; public override void _Ready() { _player = GetNode("../AnimationPlayer"); } public void Timeout() { _player.Play("produce"); _player.Queue("idle"); } }