chore: EnemySpawner is now a Marker3D for clarity
This commit is contained in:
parent
c66d6f56b4
commit
777f7908de
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
#include "core/io/resource.h"
|
||||
#include "core/templates/hash_map.h"
|
||||
#include "scene/3d/node_3d.h"
|
||||
#include "scene/3d/marker_3d.h"
|
||||
class MapRegion;
|
||||
class PatrolPath;
|
||||
|
||||
|
|
@ -19,8 +19,8 @@ public:
|
|||
HashMap<int, Ref<PackedScene>> difficulty_spawns{};
|
||||
};
|
||||
|
||||
class EnemySpawner : public Node3D {
|
||||
GDCLASS(EnemySpawner, Node3D);
|
||||
class EnemySpawner : public Marker3D {
|
||||
GDCLASS(EnemySpawner, Marker3D);
|
||||
static void _bind_methods();
|
||||
void on_phase_change(bool hunt);
|
||||
void ready();
|
||||
|
|
|
|||
Loading…
Reference in a new issue