class

PointClickEngine::UI::UIManager

Inherits Reference < Object

Manages all UI components and their interactions

Constructors

new(screen_width : Int32, screen_height : Int32)
Source

Instance methods

cleanup

Cleanup resources

Source
current_verb
Source
current_verb=(current_verb : VerbType)
Source
cursor_manager
Source
cursor_manager=(cursor_manager : CursorManager)
Source
draw

Draw all UI components

Source
enable_score_display(enabled : Bool)

Enable score display

Source
enable_status_bar(enabled : Bool)

Enable/disable status bar

Source
enable_verb_coin(enabled : Bool)

Enable/disable verb coin

Source
get_current_action_text

Get current action text for display

Source
get_current_verb

Get current verb

Source
handle_left_click(pos : RL::Vector2, scene : Scenes::Scene) : Bool

Handle left-click interactions

Source
hide_verb_coin

Force hide verb coin

Source
is_verb_coin_active?

Check if verb coin is currently active

Source
last_hotspot
Source
last_hotspot=(last_hotspot : Scenes::Hotspot | Nil)
Source
right_click_threshold
Source
right_click_threshold=(right_click_threshold : Float32)
Source
right_click_time

Input state

Source
right_click_time=(right_click_time : Float32)

Input state

Source
set_current_verb(verb : VerbType)

Set current verb manually

Source
set_score(score : Int32)

Update status bar score

Source
status_bar
Source
status_bar=(status_bar : StatusBar)
Source
status_bar_enabled
Source
status_bar_enabled=(status_bar_enabled : Bool)
Source
update(dt : Float32, scene : Scenes::Scene, inventory : Inventory::InventorySystem | Nil = nil)

Update all UI components

Source
verb_coin
Source
verb_coin=(verb_coin : VerbCoin)
Source
verb_coin_enabled
Source
verb_coin_enabled=(verb_coin_enabled : Bool)
Source