Enemy alarm response

This commit is contained in:
Marco 2025-03-21 11:44:08 +01:00
commit dd3d427ac3
5 changed files with 89 additions and 10 deletions

View file

@ -15,7 +15,7 @@ public partial class PlayerDetectionModule : Area2D
[Export(PropertyHint.Layers2DPhysics)]
public uint ObstaclesCollisionMask { get; private set; }
public Vector2? LastKnownPlayerPosition { get; private set; }
public Vector2? LastKnownPlayerPosition { get; set; }
//public bool PlayerInActiveArea { get; private set; }
private CollisionShape2D _collisionShape2D;