summaryrefslogtreecommitdiff
path: root/demos/2d/isometric_light/map.gd
diff options
context:
space:
mode:
Diffstat (limited to 'demos/2d/isometric_light/map.gd')
-rw-r--r--demos/2d/isometric_light/map.gd18
1 files changed, 18 insertions, 0 deletions
diff --git a/demos/2d/isometric_light/map.gd b/demos/2d/isometric_light/map.gd
new file mode 100644
index 0000000000..f712aeeaec
--- /dev/null
+++ b/demos/2d/isometric_light/map.gd
@@ -0,0 +1,18 @@
+
+extends Node2D
+
+# member variables here, example:
+# var a=2
+# var b="textvar"
+
+func _ready():
+ # Initialization here
+ pass
+
+
+
+
+func _on_prince_area_body_enter( body ):
+ if (body.get_name()=="cubio"):
+ get_node("message").show()
+ pass # replace with function body