class

RPG::BagUI

Inherits Reference < Object

Constants

BackgroundColor = SF::Color.new(17, 17, 17, 170)
CellCols = 8
OpenBagJoystickButtons = [Joysticks::Back]
OpenBagKeys = [Keys::B, Keys::Tab]
OutlineColor = SF::Color.new(102, 102, 102)
OutlineThickness = 4
Padding = 16
TitleFontSize = 16
TitleTextColor = SF::Color::White

Class methods

background_rect
Source
draw(window : SF::RenderWindow, bag : Bag)
Source
draw_items(window, bag)
Source
grid_cell_size
Source
height
Source
hide
Source
show
Source
show?
Source
title_text
Source
update(keys, joysticks)
Source
width
Source