From 828ff03e56381147f4cc6715475856ccbe4344cf Mon Sep 17 00:00:00 2001 From: Dominic Masters Date: Fri, 9 May 2025 22:59:50 -0500 Subject: [PATCH] int --- scripts/Entity/Component/EntityInteractable.gd | 3 +++ scripts/Entity/Component/EntityInteractable.gd.uid | 1 + scripts/Entity/Component/EntityInteractor.gd | 4 ++++ scripts/Entity/Component/EntityInteractor.gd.uid | 1 + 4 files changed, 9 insertions(+) create mode 100644 scripts/Entity/Component/EntityInteractable.gd create mode 100644 scripts/Entity/Component/EntityInteractable.gd.uid create mode 100644 scripts/Entity/Component/EntityInteractor.gd create mode 100644 scripts/Entity/Component/EntityInteractor.gd.uid 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