summaryrefslogtreecommitdiff
path: root/demos/3d/platformer/coin.gd
diff options
context:
space:
mode:
Diffstat (limited to 'demos/3d/platformer/coin.gd')
-rw-r--r--demos/3d/platformer/coin.gd11
1 files changed, 0 insertions, 11 deletions
diff --git a/demos/3d/platformer/coin.gd b/demos/3d/platformer/coin.gd
deleted file mode 100644
index bd2eea81e2..0000000000
--- a/demos/3d/platformer/coin.gd
+++ /dev/null
@@ -1,11 +0,0 @@
-
-extends Area
-
-# Member variables
-var taken = false
-
-
-func _on_coin_body_enter(body):
- if (not taken and body extends preload("res://player.gd")):
- get_node("anim").play("take")
- taken = true