class

PointClickEngine::Graphics::UI::DialogManager

Inherits Reference < Object

Dialog manager for multiple dialogs

Constructors

Instance methods

active_dialog

Get active dialog

Source
add_dialog(name : String, dialog : DialogRenderer)

Add a dialog renderer

Source
create_dialog(name : String, nine_patch_path : String) : DialogRenderer

Create and add a dialog with nine-patch

Source
draw_active(x : Float32, y : Float32, anchor : DialogAnchor = DialogAnchor::BottomCenter, target : RL::Vector2 | Nil = nil)

Draw active dialog

Source
hide_dialog(instant : Bool = false)

Hide active dialog

Source
show_dialog(name : String, text : String, instant : Bool = false)

Show dialog

Source
update(dt : Float32)

Update all dialogs

Source