Class: UI::MoveTeaching::PokemonInfos
- Inherits:
-
SpriteStack
- Object
- SpriteStack
- UI::MoveTeaching::PokemonInfos
- Defined in:
- docs/4_Systems_301_MoveTeaching.rb
Overview
UI part displaying the Pokémon informations in the Skill Learn scene
Constant Summary collapse
- NO_GENDER =
List of Pokemon that shouldn’t show the gender sprite
%i[nidoranf nidoranm]
Constants inherited from SpriteStack
Instance Attribute Summary
Attributes inherited from SpriteStack
#animated, #data, #moving, #stack, #viewport, #x, #y
Instance Method Summary collapse
-
#data=(pokemon)
Set the data of the Pokemon.
-
#initialize(viewport) ⇒ PokemonInfos
constructor
Create sprite & some informations of the Pokémon.
-
#update_graphics
Update the graphics.
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) ⇒ PokemonInfos
Create sprite & some informations of the Pokémon
26 27 |
# File 'docs/4_Systems_301_MoveTeaching.rb', line 26 def initialize() end |
Instance Method Details
#data=(pokemon)
Set the data of the Pokemon
29 30 |
# File 'docs/4_Systems_301_MoveTeaching.rb', line 29 def data=(pokemon) end |
#update_graphics
Update the graphics
32 33 |
# File 'docs/4_Systems_301_MoveTeaching.rb', line 32 def update_graphics end |