chore: added standards-complying this->
This commit is contained in:
parent
bc397b3664
commit
8023e8a5aa
2 changed files with 4 additions and 5 deletions
|
|
@ -1,5 +1,4 @@
|
|||
#include "enemy_wretched.h"
|
||||
#include "scene/animation/animation_player.h"
|
||||
#include "wave_survival/macros.h"
|
||||
#include "wave_survival/npc_unit.h"
|
||||
#include "wave_survival/patrol_path.h"
|
||||
|
|
@ -20,9 +19,9 @@ void EnemyWretched::on_child_entered(Node *node) {
|
|||
}
|
||||
|
||||
void EnemyWretched::ready() {
|
||||
fsm->add_state(memnew(WretchedPatrolState));
|
||||
fsm->add_state(memnew(WretchedChaseState));
|
||||
fsm->add_state(memnew(WretchedAttackState));
|
||||
this->fsm->add_state(memnew(WretchedPatrolState));
|
||||
this->fsm->add_state(memnew(WretchedChaseState));
|
||||
this->fsm->add_state(memnew(WretchedAttackState));
|
||||
}
|
||||
|
||||
void EnemyWretched::_notification(int what) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue