Refactored weapon component to handle weapon swaping.

This commit is contained in:
Henry Faber 2026-06-17 02:55:40 +01:00
parent d041531716
commit e2cf516c90
6 changed files with 46 additions and 11 deletions

View file

@ -9,3 +9,7 @@ func update() -> void:
move_dir = Input.get_vector("left", "right", "up", "down")
shoot_pressed = Input.is_action_just_pressed("shoot")
shooting = Input.is_action_pressed("shoot")
# Development Keys
# Cycle Available Weapons