Most of prototype! yay
This commit is contained in:
10
entities/deflector/deflector.gd
Normal file
10
entities/deflector/deflector.gd
Normal file
@@ -0,0 +1,10 @@
|
||||
extends Interactable
|
||||
|
||||
func _on_interaction_area_body_entered(body: Player) -> void:
|
||||
body.interaction_target = self
|
||||
|
||||
func _on_interaction_area_body_exited(body: Player) -> void:
|
||||
body.interaction_target = null
|
||||
|
||||
func interact():
|
||||
pass
|
||||
Reference in New Issue
Block a user