création du squelette des region modifier, amélioration du tutoriel et mise en place de la run complète avec cinématique d'outro
This commit is contained in:
@@ -15,6 +15,7 @@ var signals : Array[DetectorSignalIndividual] = []
|
||||
|
||||
func _init(region : Region, pos : Vector2):
|
||||
for e in region.entity_container.get_children():
|
||||
if e.visible:
|
||||
if e is TruckRecharge:
|
||||
signals.append(
|
||||
DetectorSignalIndividual.new(
|
||||
@@ -22,7 +23,7 @@ func _init(region : Region, pos : Vector2):
|
||||
ENERGY_ICON
|
||||
)
|
||||
)
|
||||
if e is Door and e.available and e.visible:
|
||||
if e is Door and e.available:
|
||||
signals.append(
|
||||
DetectorSignalIndividual.new(
|
||||
(pos - e.global_position).normalized().angle(),
|
||||
|
||||
Reference in New Issue
Block a user