Class: UI::Summary_Top

Inherits:
SpriteStack show all
Defined in:
docs/4_Systems_102_Party.rb

Overview

UI part displaying the generic information of the Pokemon in the Summary

Constant Summary collapse

NO_GENDER =

List of Pokemon that shouldn’t show the gender sprite

%i[nidoranf nidoranm]

Constants inherited from SpriteStack

UI::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) ⇒ Summary_Top

Create a new Memo UI for the summary

Parameters:



41
42
# File 'docs/4_Systems_102_Party.rb', line 41

def initialize(viewport)
end

Instance Method Details

#data=(pokemon)

Set the Pokemon shown

Parameters:



45
46
# File 'docs/4_Systems_102_Party.rb', line 45

def data=(pokemon)
end

#update_graphics

Update the graphics



48
49
# File 'docs/4_Systems_102_Party.rb', line 48

def update_graphics
end