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

+18
View File
@@ -0,0 +1,18 @@
class_name DiveAlertLevel
extends RefCounted
enum Value {
NORMAL,
ATTENTION,
RETURN,
CRITICAL,
FAILURE,
}
static func highest(levels: Array[Value]) -> Value:
var result := Value.NORMAL
for level: Value in levels:
if level > result:
result = level
return result