From c39de9cb4cc2334fba9643648d8e85e078d8dc8f Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Sun, 14 Apr 2024 05:25:36 +0200 Subject: [PATCH] Create a `Pickable` token class to mark objects that can be picked up with the cursor --- behaviours/pickable.gd | 2 ++ behaviours/pickable.tscn | 3 +++ 2 files changed, 5 insertions(+) create mode 100644 behaviours/pickable.gd create mode 100644 behaviours/pickable.tscn diff --git a/behaviours/pickable.gd b/behaviours/pickable.gd new file mode 100644 index 0000000..9f6f232 --- /dev/null +++ b/behaviours/pickable.gd @@ -0,0 +1,2 @@ +extends Node +class_name Pickable diff --git a/behaviours/pickable.tscn b/behaviours/pickable.tscn new file mode 100644 index 0000000..66b7a44 --- /dev/null +++ b/behaviours/pickable.tscn @@ -0,0 +1,3 @@ +[gd_scene format=3 uid="uid://dijcjahkddudv"] + +[node name="Pickable" type="Node"]