feat: 1. 添加武器位置,1-6

2. 添加武器容器
3. 添加敌人的Hurtbox
This commit is contained in:
luke358
2026-05-19 16:18:02 +08:00
parent 7c7b2e9420
commit 707dadd9ed
9 changed files with 167 additions and 8 deletions
+2 -2
View File
@@ -17,8 +17,8 @@ func _ready() -> void:
atk_start_pos = sprite_2d.position
func setup_weapon(data: ItemWeapon) -> void:
self.data = data
func setup_weapon(_data: ItemWeapon) -> void:
self.data = _data
collision.shape.radius = data.stats.max_range