feat: defined map region
This commit is contained in:
parent
569ac1f712
commit
bd5320f7a1
3 changed files with 27 additions and 0 deletions
18
modules/wave_survival/map_region.h
Normal file
18
modules/wave_survival/map_region.h
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue