Enemy state machine

This commit is contained in:
Marco 2025-03-20 18:22:40 +01:00
commit ef6c240e8e
37 changed files with 545 additions and 36 deletions

View file

@ -8,6 +8,7 @@ public partial class PlayerDetection : Area2D
public InteractionController CachedPlayer => _cachedPlayer;
protected InteractionController _cachedPlayer;
public virtual bool IsPlayerInRange { get; set; }
public virtual bool IsPlayerInSight(uint collisionMask)