Class: UI::Shop::PkmDesc
- Inherits:
-
UI::SpriteStack
- Object
- UI::SpriteStack
- UI::Shop::PkmDesc
- Defined in:
- docs/4_Systems_203_Shop.rb
Overview
Description of a creature in the Shop UI
Constant Summary collapse
Constants inherited from UI::SpriteStack
UI::SpriteStack::NO_INITIAL_IMAGE
Instance Attribute Summary
Attributes inherited from UI::SpriteStack
#animated, #data, #moving, #stack, #viewport, #x, #y
Instance Method Summary collapse
-
#initialize(viewport) ⇒ PkmDesc
constructor
Initialize the item description window graphisms and texts.
-
#name=(name)
Update the text of the item’s name.
-
#nb_in_stock=(nb)
Update the number of the Pokémon in stock.
-
#species=(species)
Update the species text for the Pokemon.
-
#text=(text)
Update the level text for the Pokemon.
Methods inherited from UI::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) ⇒ PkmDesc
Initialize the item description window graphisms and texts
405 406 |
# File 'docs/4_Systems_203_Shop.rb', line 405 def initialize() end |
Instance Method Details
#name=(name)
Update the text of the item’s name
409 410 |
# File 'docs/4_Systems_203_Shop.rb', line 409 def name=(name) end |
#nb_in_stock=(nb)
Update the number of the Pokémon in stock
421 422 |
# File 'docs/4_Systems_203_Shop.rb', line 421 def nb_in_stock=(nb) end |
#species=(species)
Update the species text for the Pokemon
417 418 |
# File 'docs/4_Systems_203_Shop.rb', line 417 def species=(species) end |
#text=(text)
Update the level text for the Pokemon
413 414 |
# File 'docs/4_Systems_203_Shop.rb', line 413 def text=(text) end |