summaryrefslogtreecommitdiff
path: root/demos/2d/platformer/coin.gd
diff options
context:
space:
mode:
Diffstat (limited to 'demos/2d/platformer/coin.gd')
-rw-r--r--demos/2d/platformer/coin.gd19
1 files changed, 0 insertions, 19 deletions
diff --git a/demos/2d/platformer/coin.gd b/demos/2d/platformer/coin.gd
deleted file mode 100644
index 1118732707..0000000000
--- a/demos/2d/platformer/coin.gd
+++ /dev/null
@@ -1,19 +0,0 @@
-
-extends Area2D
-
-# Member variables
-var taken = false
-
-
-func _on_body_enter( body ):
- if (not taken and body extends preload("res://player.gd")):
- get_node("anim").play("taken")
- taken = true
-
-
-func _on_coin_area_enter(area):
- pass # replace with function body
-
-
-func _on_coin_area_enter_shape(area_id, area, area_shape, area_shape):
- pass # replace with function body