Class: GamePlay::Evolve

Inherits:
BaseCleanUpdate::FrameBalanced show all
Includes:
EvolveMixin
Defined in:
docs/01450_Systems_00303_Evolve.rb

Overview

Evolve scene

Constant Summary collapse

ENABLE_GIF =

Constant telling if you have gifs or not during the scene

true
EVOLVE_MUSIC =

Path of the music of the pokemon in evolution

'audio/bgm/pkmrs-evolving'
EVOLVED_MUSIC =

Path of the music of the pokemon in evolved

'audio/bgm/xy_trainer_battle_victory'
FIRST_STEP =

Counter value for the first step end

60
SECOND_STEP_FREQUENCY =

Frequency count for the second step to repeat

60
SECOND_STEP =

Counter value for the second step end

FIRST_STEP + (2.5 * SECOND_STEP_FREQUENCY).to_i
LAST_STEP =

Counter value for the last step end

SECOND_STEP + 60
PI2 =

2pi value

Math::PI * 2

Constants inherited from BaseCleanUpdate

BaseCleanUpdate::AIU_KEY2METHOD

Constants inherited from Base

Base::DEFAULT_TRANSITION, Base::DEFAULT_TRANSITION_PARAMETER

Constants included from Input

Input::ALIAS_KEYS, Input::AXIS_MAPPING, Input::AXIS_SENSITIVITY, Input::DEAD_ZONE, Input::Keyboard, Input::Keys, Input::NON_TRIGGER_ZONE, Input::REPEAT_COOLDOWN, Input::REPEAT_SPACE

Constants included from DisplayMessage

DisplayMessage::MESSAGE_ERROR, DisplayMessage::MESSAGE_PROCESS_ERROR

Instance Attribute Summary

Attributes included from EvolveMixin

#evolved

Attributes inherited from Base

#__last_scene, #__result_process, #running, #viewport

Attributes included from DisplayMessage

#message_window

Instance Method Summary collapse

Methods inherited from BaseCleanUpdate::FrameBalanced

#update

Methods included from Graphics::FPSBalancer::Marker

#frame_balanced?

Methods inherited from BaseCleanUpdate

#automatic_input_update, #update

Methods inherited from Base

#add_disposable, #call_scene, #dispose, #find_parent, #main, #return_to_scene, #snap_to_bitmap, #update, #visible, #visible=

Methods included from Input

dir4, dir8, get_text, joy_axis_position, press?, register_events, released?, repeat?, swap_states, trigger?

Methods included from DisplayMessage

#can_display_message_be_called?, #close_message_window, #display_message, #display_message_and_wait, #message_class, #message_processing?, #message_visible, #message_visible=

Constructor Details

#initialize(pokemon, id, form = nil, forced = false) ⇒ Evolve

Launch the Pokemon Evolution scene

Parameters:

  • pokemon (PFM::Pokemon)

    the evolving Pokemon

  • id (Integer)

    the ID of the evolution

  • form (Integer) (defaults to: nil)

    the form of the evolution

  • forced (Boolean) (defaults to: false)

    if the evolution can be stopped or not



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

def initialize(pokemon, id, form = nil, forced = false)
end

Instance Method Details

#update_graphics



34
35
# File 'docs/01450_Systems_00303_Evolve.rb', line 34

def update_graphics
end