just reorganised files thats it
This commit is contained in:
12
Scenes/Ladder/ladder.gd
Normal file
12
Scenes/Ladder/ladder.gd
Normal file
@@ -0,0 +1,12 @@
|
||||
class_name Ladder
|
||||
extends Area3D
|
||||
|
||||
|
||||
func _on_body_entered(body: Node3D) -> void:
|
||||
if body is Hero:
|
||||
body.movement.enable_climbing()
|
||||
|
||||
|
||||
func _on_body_exited(body: Node3D) -> void:
|
||||
if body is Hero:
|
||||
body.movement.disable_climbing()
|
||||
Reference in New Issue
Block a user