diff options
Diffstat (limited to 'demos/2d/isometric_light/map.gd')
-rw-r--r-- | demos/2d/isometric_light/map.gd | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/demos/2d/isometric_light/map.gd b/demos/2d/isometric_light/map.gd index f712aeeaec..6b790ddf1c 100644 --- a/demos/2d/isometric_light/map.gd +++ b/demos/2d/isometric_light/map.gd @@ -1,18 +1,7 @@ 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"): +func _on_prince_area_body_enter(body): + if (body.get_name() == "cubio"): get_node("message").show() - pass # replace with function body |