diff options
author | Daniel Weipert <code@drogueronin.de> | 2020-12-31 11:33:12 +0100 |
---|---|---|
committer | Daniel Weipert <code@drogueronin.de> | 2020-12-31 11:33:12 +0100 |
commit | fb64f15e22acfc1c03c7c5357dd66077454adbcf (patch) | |
tree | 96cdbb8f59bd65609aa76276dfba94f9cdad33d4 /Objects/Flag.gd |
Initial commit
Diffstat (limited to 'Objects/Flag.gd')
-rw-r--r-- | Objects/Flag.gd | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Objects/Flag.gd b/Objects/Flag.gd new file mode 100644 index 0000000..bdb2237 --- /dev/null +++ b/Objects/Flag.gd @@ -0,0 +1,6 @@ +extends Area2D + + +func _on_Flag_body_entered(body): + body.check_flag() + get_parent().end_level() |