Class: UI::Summary_Memo

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

Overview

UI part displaying the “Memo” of the Pokemon in the Summary

Direct Known Subclasses

GTS::Summary_Memo_GTS

Constant Summary

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, #with_cache, #with_font, #with_surface, #z, #z=

Constructor Details

#initialize(viewport) ⇒ Summary_Memo

Create a new Memo UI for the summary

Parameters:



78
79
# File 'docs/4_Systems_102_Party.rb', line 78

def initialize(viewport)
end

Instance Method Details

#data=(pokemon)

Define the pokemon shown by this UI

Parameters:



86
87
# File 'docs/4_Systems_102_Party.rb', line 86

def data=(pokemon)
end

#init_memo

Initialize the Memo part



93
94
# File 'docs/4_Systems_102_Party.rb', line 93

def init_memo
end

#load_egg_text_info(pokemon)

Load the text info when it’s an egg

Parameters:



101
102
# File 'docs/4_Systems_102_Party.rb', line 101

def load_egg_text_info(pokemon)
end

#load_text_info(pokemon)

Load the text info

Parameters:



97
98
# File 'docs/4_Systems_102_Party.rb', line 97

def load_text_info(pokemon)
end

#no_egg(object)

Set an object invisible if the Pokemon is an egg

Parameters:

  • object (#visible=)

    the object that is invisible if the Pokemon is an egg



82
83
# File 'docs/4_Systems_102_Party.rb', line 82

def no_egg(object)
end

#visible=(value)

Change the visibility of the UI

Parameters:

  • value (Boolean)

    new visibility



90
91
# File 'docs/4_Systems_102_Party.rb', line 90

def visible=(value)
end