class RPG::BagUI
- RPG::BagUI
- Reference
- Object
Defined in:
rpg/bag_ui.crConstant Summary
-
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 Method Summary
- .background_rect : SF::RectangleShape
- .draw(window : SF::RenderWindow, bag : Bag)
- .draw_items(window, bag)
- .grid_cell_size
- .height
- .hide
- .show
- .show?
- .title_text : SF::Text
- .update(keys, joysticks)
- .width
- .x
- .y