PointClickEngine::Graphics::UI::InventorySlot
Inherits Struct < Value < Object
Inventory slot for rendering
Constructors
new(position : RL::Vector2, size : RL::Vector2)
SourceInstance methods
bounds
Sourcecontains?(x : Float32, y : Float32) : Bool
Sourcehighlighted
Sourcehighlighted=(highlighted : Bool)
Sourceitem_id
Sourceitem_id=(item_id : String | Nil)
Sourceposition
Sourceposition=(position : RL::Vector2)
Sourcequantity
Sourcequantity=(quantity : Int32)
Sourceselected
Sourceselected=(selected : Bool)
Sourcesize
Sourcesize=(size : RL::Vector2)
Source