Implement production vertical slice foundation

This commit is contained in:
chindit committed 2026-10-02 15:27:48 +02:00
1 parent 9d4a89f355
commit a18e82eb44
104 files changed
+10595 -268

No files matched your search

+12
View File
@@ -0,0 +1,12 @@
class_name EjectionSnapshot
extends RefCounted
var held_seconds: float
var required_seconds: float
var ratio: float
func _init(p_held_seconds: float, p_required_seconds: float) -> void:
held_seconds = p_held_seconds
required_seconds = p_required_seconds
ratio = clampf(held_seconds / required_seconds, 0.0, 1.0) if required_seconds > 0.0 else 0.0