aboutsummaryrefslogtreecommitdiff
path: root/client/scripts/tiles/crate.gd
diff options
context:
space:
mode:
authornokoe <nokoe@mailbox.org>2024-06-21 20:50:40 +0200
committermetamuffin <metamuffin@disroot.org>2024-06-23 19:27:44 +0200
commitfc3237a432d3b7a11fd4468d6d3fd5525ebd2c0c (patch)
treeb26c543b5028ee6d2dd438f288c32c39266e8e33 /client/scripts/tiles/crate.gd
parent904c885b80d7360daee7de3f47f8698e3e0de6a6 (diff)
downloadhurrycurry-fc3237a432d3b7a11fd4468d6d3fd5525ebd2c0c.tar
hurrycurry-fc3237a432d3b7a11fd4468d6d3fd5525ebd2c0c.tar.bz2
hurrycurry-fc3237a432d3b7a11fd4468d6d3fd5525ebd2c0c.tar.zst
replace setup with _init
Diffstat (limited to 'client/scripts/tiles/crate.gd')
-rw-r--r--client/scripts/tiles/crate.gd7
1 files changed, 7 insertions, 0 deletions
diff --git a/client/scripts/tiles/crate.gd b/client/scripts/tiles/crate.gd
new file mode 100644
index 00000000..de154609
--- /dev/null
+++ b/client/scripts/tiles/crate.gd
@@ -0,0 +1,7 @@
+class_name Crate
+extends Counter
+
+const KIND: int = -1
+
+func _init(rename: String, neighbors: Array):
+ super(rename, neighbors)