This commit is contained in:
2ndbeam 2024-06-09 23:01:14 +03:00
commit 6c5350d47e
32 changed files with 114 additions and 186 deletions

View file

@ -25,6 +25,7 @@ signal destroyed
var faction : Game.Faction
func _ready() -> void:
star_system.ships.append(self)
hull.global_position = global_position
destroyed.connect(destroy_timeout)
destroyed.connect(star_system.on_ship_destroyed.bind(self))