class

PointClickEngine::UI::FloatingDialogManager

Inherits Reference < Object

Manager for multiple floating dialogs

Constructors

Instance methods

active_dialogs
Source
active_dialogs=(active_dialogs : Array(FloatingDialog))
Source
clear_all

Clear all dialogs

Source
default_duration
Source
default_duration=(default_duration : Float32)
Source
draw

Draw all active dialogs

Source
enable_floating
Source
enable_floating=(enable_floating : Bool)
Source
frame_context
Source
frame_context=(context : PointClickEngine::Graphics::FrameContext | Nil)
Source
has_active_dialogs?

Check if any dialogs are active

Source
max_concurrent
Source
max_concurrent=(max_concurrent : Int32)
Source
show_dialog(character_name : String, text : String, character_pos : RL::Vector2, duration : Float32 | Nil = nil, style : DialogStyle = DialogStyle::Bubble, color : RL::Color | Nil = nil)

Show floating dialog for character

Source
update(dt : Float32)

Update all active dialogs

Source