splishy splashy
This commit is contained in:
+5
-5
@@ -22,22 +22,22 @@ func add_sequence_guess(dir):
|
||||
if sequence[0] == dir:
|
||||
add_sequence_guess(dir)
|
||||
|
||||
func _on_up_input_event(camera, event, position, normal, shape_idx):
|
||||
func _on_up_input_event(_camera, event, _position, _normal, _shape_idx):
|
||||
if event is InputEventMouseButton and event.is_action_pressed("interact"):
|
||||
add_sequence_guess(0)
|
||||
|
||||
func _on_left_input_event(camera, event, position, normal, shape_idx):
|
||||
func _on_left_input_event(_camera, event, _position, _normal, _shape_idx):
|
||||
if event is InputEventMouseButton and event.is_action_pressed("interact"):
|
||||
add_sequence_guess(3)
|
||||
|
||||
func _on_down_input_event(camera, event, position, normal, shape_idx):
|
||||
func _on_down_input_event(_camera, event, _position, _normal, _shape_idx):
|
||||
if event is InputEventMouseButton and event.is_action_pressed("interact"):
|
||||
add_sequence_guess(2)
|
||||
|
||||
func _on_right_input_event(camera, event, position, normal, shape_idx):
|
||||
func _on_right_input_event(_camera, event, _position, _normal, _shape_idx):
|
||||
if event is InputEventMouseButton and event.is_action_pressed("interact"):
|
||||
add_sequence_guess(1)
|
||||
|
||||
func _on_flash_light_input_event(camera, event, position, normal, shape_idx):
|
||||
func _on_flash_light_input_event(_camera, event, _position, _normal, _shape_idx):
|
||||
if event is InputEventMouseButton and event.is_action_pressed("interact"):
|
||||
$FlashLight.visible = false
|
||||
|
||||
Reference in New Issue
Block a user