filesystem rework

This commit is contained in:
Rendo 2025-07-19 20:13:34 +05:00
commit 2905db3dce
174 changed files with 93 additions and 353 deletions

View file

@ -1,16 +0,0 @@
using Godot;
namespace Newlon.Components.Plants.Behaviours;
public partial class PeashooterBehaviour : BaseBehaviour
{
[Export] private Timer _shootTimer;
[Export] private Eyesight _sight;
public override void _Process(double delta)
{
bool readyToShoot = _sight.EnemyDetected && _shootTimer.TimeLeft <= 0;
_tree.Set("parameters/Tree/conditions/ready",readyToShoot);
}
}