#include "enemy.hpp" void Enemy::_bind_methods() {} void Enemy::_ready() { this->anim_tree = this->get_node("CharacterModel/AnimationTree"); } void Enemy::damage() { this->anim_tree->death_animation(); this->set_collision_mask(0x0); this->set_collision_layer(0x0); }