Class: UI::LevelUpWindow

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

Overview

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

Instance Method Summary collapse

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



223
224
# File 'docs/4_Systems_102_Party.rb', line 223

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

Instance Method Details

#update

Update the Pokemon Icon animation



226
227
# File 'docs/4_Systems_102_Party.rb', line 226

def update
end