Class: UI::LevelUpWindow

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

Overview

Window responsive of displaying the Level Up information when a Pokemon levels up

Constant Summary

Constants inherited from Window

Window::DEFAULT_SKIN

Instance Attribute Summary

Attributes inherited from LiteRGSS::Window

#__index__, #active, #back_opacity, #contents_opacity, #cursor_rect, #cursorskin, #height, #opacity, #ox, #oy, #pause, #pause_x, #pause_y, #pauseskin, #stretch, #viewport, #visible, #width, #window_builder, #windowskin, #x, #y, #z

Instance Method Summary collapse

Methods inherited from Window

#add_line, #add_text, from_metrics, #load_cursor, #push, #sprite_stack, #stack, window_builder

Methods inherited from Window

#simple_mouse_in?, #translate_mouse_coords

Methods inherited from LiteRGSS::Window

#lock, #locked?, new, #set_origin, #set_position, #set_size, #unlock

Methods inherited from LiteRGSS::Disposable

#dispose, #disposed?

Constructor Details

#initialize(viewport, pokemon, list0, list1) ⇒ LevelUpWindow

Create a new Level Up Window

Parameters:

  • viewport (Viewport)

    viewport in which the Pokemon is shown

  • pokemon (PFM::Pokemon)

    Pokemon that is currently leveling up

  • list0 (Array)

    old basis stats

  • list1 (Array)

    new basis stats



169
170
# File 'docs/4_Systems_102_Party.rb', line 169

def initialize(viewport, pokemon, list0, list1)
end

Instance Method Details

#update

Update the Pokemon Icon animation



172
173
# File 'docs/4_Systems_102_Party.rb', line 172

def update
end