add whistle to train

This commit is contained in:
2026-06-29 08:35:14 +02:00
parent d09a975578
commit 6a2a2d2e8a
24 changed files with 881 additions and 38 deletions

View File

@@ -107,3 +107,9 @@ func _on_fog_toggled(toggled_on: bool) -> void:
func _on_update_rails_pressed() -> void:
UIEvents.update_rail_chunks.emit()
func _on_toot_toot_pressed() -> void:
UIEvents.toot_toot.emit()
func _on_reset_stats_ach_pressed() -> void:
StatsManager.reset_all(true)

View File

@@ -1,6 +1,6 @@
extends Node3D
func _input(event):
if event is InputEventKey and event.pressed:
if event.keycode == KEY_ESCAPE:
get_tree().quit()
#func _input(event):
#if event is InputEventKey and event.pressed:
#if event.keycode == KEY_ESCAPE:
#get_tree().quit()