chore: detector line_of_sight_exists is public
This commit is contained in:
parent
d430da0801
commit
dfc5ac680a
2 changed files with 12 additions and 12 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue