PointClickEngine::UI::CursorManager
Inherits Reference < Object
Manages context-sensitive cursors
Constructors
new
SourceInstance methods
asset_base_dir
Sourceasset_base_dir=(asset_base_dir : String)
Sourceconfigure(asset_base_dir : String = "", cursor_root : String | Nil = nil, cursor_paths : Hash(VerbType, String) | Nil = nil, default_cursor_path : String | Nil = nil)
Sourcecurrent_character
Sourcecurrent_character=(current_character : Characters::Character | Nil)
Sourcecurrent_hotspot
Sourcecurrent_hotspot=(current_hotspot : Scenes::Hotspot | Nil)
Sourcecurrent_verb
Sourcecurrent_verb=(current_verb : VerbType)
Sourcecursors
Sourcecursors=(cursors : Hash(VerbType, RL::Texture2D))
Sourcecustom_cursor_available?
Sourcemanual_verb_mode
Sourcemanual_verb_mode=(manual_verb_mode : Bool)
Sourceshow_tooltip
Sourceshow_tooltip=(show_tooltip : Bool)
Sourcetooltip_offset
Sourcetooltip_offset=(tooltip_offset : RL::Vector2)
Sourceupdate(mouse_pos : RL::Vector2, scene : Scenes::Scene, inventory : Inventory::InventorySystem | Nil = nil)
Update cursor based on what's under the mouse