Refactor brick throwing mechanics; integrate new input handling and projectile initialization components
This commit is contained in:
6
scripts/resources/tap_throw_input_resource.gd
Normal file
6
scripts/resources/tap_throw_input_resource.gd
Normal file
@@ -0,0 +1,6 @@
|
||||
class_name TapThrowInputResource
|
||||
extends ThrowInputResource
|
||||
|
||||
func process_input(event: InputEvent) -> void:
|
||||
if event.is_action_pressed("attack"):
|
||||
throw_requested.emit(1.0)
|
Reference in New Issue
Block a user