Done refactoring

This commit is contained in:
2ndbeam 2023-11-05 21:51:47 +03:00
commit 2176e9d798
88 changed files with 821 additions and 880 deletions

10
scripts/objects/Bounty.gd Normal file
View file

@ -0,0 +1,10 @@
extends Area2D
@export var amount: float = 20
@onready var text = $Label
func _on_body_entered(body):
if body is MainShip:
body.money += amount
queue_free()