feat: units hold formation while patrolling
This commit is contained in:
parent
c05d3aa28f
commit
ec6fc76335
7 changed files with 31 additions and 11 deletions
|
|
@ -1,13 +1,13 @@
|
|||
#ifndef NPC_UNIT_H
|
||||
#define NPC_UNIT_H
|
||||
|
||||
#include "scene/main/node.h"
|
||||
#include "scene/3d/node_3d.h"
|
||||
class StateMachine;
|
||||
class EnemyBody;
|
||||
class PatrolPath;
|
||||
|
||||
class NpcUnit : public Node {
|
||||
GDCLASS(NpcUnit, Node);
|
||||
class NpcUnit : public Node3D {
|
||||
GDCLASS(NpcUnit, Node3D);
|
||||
static void _bind_methods();
|
||||
void on_npc_awareness_changed(bool seen);
|
||||
void child_added(Node *node);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue