Class: UI::MoveTeaching::PokemonInfos

Inherits:
SpriteStack show all
Defined in:
docs/01450_Systems_00301_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

SpriteStack::NO_INITIAL_IMAGE

Instance Attribute Summary

Attributes inherited from SpriteStack

#animated, #data, #moving, #stack, #viewport, #x, #y

Instance Method Summary collapse

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

Parameters:



26
27
# File 'docs/01450_Systems_00301_MoveTeaching.rb', line 26

def initialize(viewport)
end

Instance Method Details

#data=(pokemon)

Set the data of the Pokemon



29
30
# File 'docs/01450_Systems_00301_MoveTeaching.rb', line 29

def data=(pokemon)
end

#update_graphics

Update the graphics



32
33
# File 'docs/01450_Systems_00301_MoveTeaching.rb', line 32

def update_graphics
end