PointClickEngine::UI::FloatingTextManager
Inherits Reference < Object
Manager for floating text instances
Constructors
new
SourceInstance methods
active_texts
Sourceactive_texts=(active_texts : Array(FloatingText))
Sourceauto_dismiss
Sourceauto_dismiss=(auto_dismiss : Bool)
Sourcedefault_duration
Sourcedefault_duration=(default_duration : Float32)
Sourceframe_context
Sourceshow_choice(character_name : String, prompt : String, choices : Array(String), position : RL::Vector2, callback : Proc(Int32, Nil)) : FloatingText
Show floating text with choices
show_text(character_name : String, text : String, position : RL::Vector2, duration : Float32 | Nil = nil) : FloatingText
Show floating text for a character
update_character_position(character_name : String, new_position : RL::Vector2)
Update character position for all their floating texts