Refactored weapon component to handle weapon swaping.
This commit is contained in:
parent
d041531716
commit
e2cf516c90
6 changed files with 46 additions and 11 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue