feat: defined map region

This commit is contained in:
Sara 2025-08-14 11:51:22 +02:00
parent 569ac1f712
commit bd5320f7a1
3 changed files with 27 additions and 0 deletions

View file

@ -0,0 +1,18 @@
#ifndef MAP_REGION_H
#define MAP_REGION_H
#include "scene/3d/physics/area_3d.h"
class MapRegion : public Area3D {
GDCLASS(MapRegion, Area3D);
static void _bind_methods();
private:
float awareness{ 0.f };
bool hunt_phase{ false };
public:
static String const sig_phase_changed;
};
#endif // !MAP_REGION_H