aboutsummaryrefslogtreecommitdiff
path: root/scenes/level1.gd
diff options
context:
space:
mode:
Diffstat (limited to 'scenes/level1.gd')
-rw-r--r--scenes/level1.gd4
1 files changed, 4 insertions, 0 deletions
diff --git a/scenes/level1.gd b/scenes/level1.gd
new file mode 100644
index 0000000..cab2699
--- /dev/null
+++ b/scenes/level1.gd
@@ -0,0 +1,4 @@
+extends Node2D
+
+func _ready():
+ $Player.set("total_apples_need",$Apples.get_child_count())