public override void _Ready() { this.playerBody = (AnimatedSprite)GetNode("../PlayerBody"); this.playerBody.Connect("animation_finished", this, nameof(AttackAnimFinished)); this.player = (KinematicBody2D)this.GetParent().GetParent(); this.hitbox = (CollisionShape2D)playerBody.GetNode("SwordHitBox/CollisionShape2D"); this.hitbox.Disabled = true; this.bulletSpawn = (Position2D)player.FindNode("BulletSpawn"); }