PointClickEngine::UI::StatusBar
Inherits Reference < Object
Status bar displaying game information
Constructors
new(screen_width : Int32, screen_height : Int32)
SourceInstance methods
border_color
Sourceborder_color=(border_color : RL::Color)
Sourcecurrent_object
Sourcecurrent_object=(current_object : String)
Sourcecurrent_verb
Sourcecurrent_verb=(current_verb : VerbType)
Sourcehighlight_color
Sourcehighlight_color=(highlight_color : RL::Color)
Sourceinventory_count
Sourceinventory_count=(inventory_count : Int32)
Sourcepadding
Sourcepadding=(padding : Int32)
Sourceposition
Sourceposition=(position : RL::Vector2)
Sourcescore
Sourcescore=(score : Int32)
Sourcesection_width
Sourcesection_width=(section_width : Int32)
Sourceshow_score
Sourceshow_score=(show_score : Bool)
Sourcesize
Sourcesize=(size : RL::Vector2)
Sourcetext_color
Sourcetext_color=(text_color : RL::Color)
Sourceupdate(cursor_manager : CursorManager, inventory : Inventory::InventorySystem | Nil = nil)
Update status bar with current game state
update_manual(verb : VerbType, object : String, inv_count : Int32 = 0, score : Int32 = 0)
Update with manual values (for custom states)
visible
Sourcevisible=(visible : Bool)
Source