chore: detector line_of_sight_exists is public

This commit is contained in:
Sara Gerretsen 2026-02-02 20:19:11 +01:00
parent d430da0801
commit dfc5ac680a
2 changed files with 12 additions and 12 deletions

View file

@ -6,7 +6,6 @@
class PlayerDetector : public Node3D {
GDCLASS(PlayerDetector, Node3D);
static void _bind_methods();
bool line_of_sight_exists() const;
bool check() const;
void ready();
void process(double delta);
@ -17,6 +16,7 @@ protected:
void _notification(int what);
public:
bool line_of_sight_exists() const;
bool is_aware_of_player() const;
private: