feat: complete graphical feedback pass

This commit is contained in:
goose
2026-10-04 00:17:33 -04:00
parent 408dc82f4e
commit ad10e99de9
12 changed files with 315 additions and 2 deletions
@@ -0,0 +1,15 @@
class_name PresentationEvent
extends RefCounted
## A display-only translation of one authoritative GameEvent.
## Presentation consumers must never alter the source domain event or run state.
var source_event: GameEvent
var kind: StringName
var notification: String
var accent: Color
func _init(source: GameEvent, presentation_kind: StringName, text: String = "", color: Color = Color.WHITE) -> void:
source_event = source
kind = presentation_kind
notification = text if not text.is_empty() else source.message
accent = color