Рефактор

This commit is contained in:
sasha80
2024-11-15 10:03:17 +03:00
parent 8743530da3
commit 548dfeb609
2 changed files with 6 additions and 1 deletions

View File

@@ -138,7 +138,11 @@ signal map_coords_changed(lan: float, lat: float)
## [param mode] - Вновь установленный режим.
signal map_mode_changed(mode: int)
## Вызывается при обновлении позиции(угла) цели.[br]
signal th_aoa_update(threats: Dictionary)
signal fs_update_color(ecms:Dictionary)
## <...>[br]
## [param ecms] - <...>
signal fs_update_color(ecms: Dictionary)

View File

@@ -66,6 +66,7 @@ func _ready() -> void:
signaller.connect('threat_selected', Callable(self, 'on_threat_selected').bind(threats))
signaller.connect('interfer_init', Callable(self, 'on_interfer_init').bind(threats))
## Периодически удаляет устаревшие цели.
func on_timer_check_lost(time_lost: int, threats: Dictionary):
var tick = Time.get_ticks_msec()