feat: enemy death and damage effects
This commit is contained in:
parent
2134fcae92
commit
1a8c64806d
13 changed files with 96 additions and 7 deletions
|
|
@ -2,7 +2,9 @@
|
|||
#include "macros.h"
|
||||
#include "npc_unit.h"
|
||||
|
||||
void EnemyBody::_bind_methods() {}
|
||||
void EnemyBody::_bind_methods() {
|
||||
ClassDB::bind_method(D_METHOD("set_movement_direction", "direction"), &self_type::set_movement_direction);
|
||||
}
|
||||
|
||||
void EnemyBody::ready() {
|
||||
this->fsm = cast_to<StateMachine>(get_node(NodePath("%StateMachine")));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue