Class: UI::Bag::InfoWide
- Inherits:
-
SpriteStack
- Object
- SpriteStack
- UI::Bag::InfoWide
- Defined in:
- docs/4_Systems_103_Bag.rb
Overview
Class that shows the full item info (descr)
Constant Summary collapse
- COORDINATES =
Coordinate of the UI
0, 33
Constants inherited from SpriteStack
Instance Attribute Summary collapse
-
#mode ⇒ Symbol
readonly
Mode of the bag.
Attributes inherited from SpriteStack
#animated, #data, #moving, #stack, #viewport, #x, #y
Instance Method Summary collapse
-
#initialize(viewport, mode) ⇒ InfoWide
constructor
Create a new InfoWide.
-
#show_item(id)
Change the item it shows.
Methods inherited from SpriteStack
#[], #add_background, #add_line, #add_text, #anime, #anime_delta_set, #dispose, #each, #execute_anime, #move, #move_to, #opacity, #opacity=, #push, #push_sprite, #set_origin, #set_position, #simple_mouse_in?, #size, #stop_animation, #translate_mouse_coords, #update, #update_animation, #update_position, #visible, #visible=, #with_cache, #with_font, #with_surface, #z, #z=
Constructor Details
#initialize(viewport, mode) ⇒ InfoWide
Create a new InfoWide
437 438 |
# File 'docs/4_Systems_103_Bag.rb', line 437 def initialize(, mode) end |
Instance Attribute Details
#mode ⇒ Symbol (readonly)
Mode of the bag
431 432 433 |
# File 'docs/4_Systems_103_Bag.rb', line 431 def mode @mode end |
Instance Method Details
#show_item(id)
Change the item it shows
441 442 |
# File 'docs/4_Systems_103_Bag.rb', line 441 def show_item(id) end |