PointClickEngine::UI::DialogPresenter
Inherits Reference < Object
Manages how dialogs are presented to the player
Constants
CHARACTER_COLORS = {"butler" => RL::Color.new(r: 200, g: 200, b: 255, a: 255), "scientist" => RL::Color.new(r: 255, g: 200, b: 200, a: 255), "player" => RL::Color.new(r: 200, g: 255, b: 200, a: 255)}
Character speech colors
DEFAULT_COLOR = RL::WHITE
SPEECH_OFFSET_Y = 20_f32
Constructors
new(dialog_manager : DialogManager)
SourceInstance methods
show_character_speech(text : String, character_name : String)
Show character speech as floating text
show_choices(choices : Array(String), &callback : Int32 -> )
Show dialog choices at the bottom of the screen