diff --git a/scripts/Entity/Component/EntityInteractable.gd b/scripts/Entity/Component/EntityInteractable.gd new file mode 100644 index 0000000..4619529 --- /dev/null +++ b/scripts/Entity/Component/EntityInteractable.gd @@ -0,0 +1,3 @@ +class_name EntityInteractable extends Node + +signal entityOnInteract(entity:EntityInteractor); \ No newline at end of file diff --git a/scripts/Entity/Component/EntityInteractable.gd.uid b/scripts/Entity/Component/EntityInteractable.gd.uid new file mode 100644 index 0000000..8107d96 --- /dev/null +++ b/scripts/Entity/Component/EntityInteractable.gd.uid @@ -0,0 +1 @@ +uid://03dqknw7v4mr diff --git a/scripts/Entity/Component/EntityInteractor.gd b/scripts/Entity/Component/EntityInteractor.gd new file mode 100644 index 0000000..04ef3ce --- /dev/null +++ b/scripts/Entity/Component/EntityInteractor.gd @@ -0,0 +1,4 @@ +class_name EntityInteractor extends Node + +func tryInteract() -> EntityInteractable: + return null \ No newline at end of file diff --git a/scripts/Entity/Component/EntityInteractor.gd.uid b/scripts/Entity/Component/EntityInteractor.gd.uid new file mode 100644 index 0000000..f041a8b --- /dev/null +++ b/scripts/Entity/Component/EntityInteractor.gd.uid @@ -0,0 +1 @@ +uid://dfh2rh8idx267