Class: GamePlay::Hall_of_Fame

Inherits:
BaseCleanUpdate show all
Includes:
UI::Hall_of_Fame
Defined in:
docs/4_Systems_300_Hall_of_fame.rb

Constant Summary collapse

DEFAULT_BGM =

The default BGM to play

'audio/bgm/Hall-of-Fame'

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 inherited from Base

#__last_scene, #__result_process, #running, #viewport

Attributes included from DisplayMessage

#message_window

Instance Method Summary collapse

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(filename_bgm = DEFAULT_BGM, context_of_victory = :league) ⇒ Hall_of_Fame

Initialize the scene

Parameters:

  • filename_bgm (String) (defaults to: DEFAULT_BGM)

    the bgm to play during the Hall of Fame

  • context_of_victory (Symbol) (defaults to: :league)

    the symbol to put as the context of victory



398
399
# File 'docs/4_Systems_300_Hall_of_fame.rb', line 398

def initialize(filename_bgm = DEFAULT_BGM, context_of_victory = :league)
end

Instance Method Details

#create_background

Create the background



415
416
# File 'docs/4_Systems_300_Hall_of_fame.rb', line 415

def create_background
end

#create_congratulation_text_boxes

Create the congratulations boxes that are displayed during phase 1



433
434
# File 'docs/4_Systems_300_Hall_of_fame.rb', line 433

def create_congratulation_text_boxes
end

#create_end_stars

Create the final stars animation that is displayed after phase 3



454
455
# File 'docs/4_Systems_300_Hall_of_fame.rb', line 454

def create_end_stars
end

#create_graphics

Create the graphics for the UI



409
410
# File 'docs/4_Systems_300_Hall_of_fame.rb', line 409

def create_graphics
end

#create_graveyard_anim

Create the stack that contains everything needed for phase 2 animation



436
437
# File 'docs/4_Systems_300_Hall_of_fame.rb', line 436

def create_graveyard_anim
end

#create_league_champion_text_box

Create the box containing the league champion text displayed during phase 3



448
449
# File 'docs/4_Systems_300_Hall_of_fame.rb', line 448

def create_league_champion_text_box
end

#create_party_battler_stack

Create the stack containing every battlers displayed during phase 3



445
446
# File 'docs/4_Systems_300_Hall_of_fame.rb', line 445

def create_party_battler_stack
end

#create_pokemon_battler_stack

Create the stack containing the Pokemon’s battler that is displayed during phase 1



421
422
# File 'docs/4_Systems_300_Hall_of_fame.rb', line 421

def create_pokemon_battler_stack
end

#create_pokemon_stars_animation

Create the stars animation that is displayed during phase 1



424
425
# File 'docs/4_Systems_300_Hall_of_fame.rb', line 424

def create_pokemon_stars_animation
end

#create_pokemon_text_boxes

Create the boxes containing the text about the Pokemon that are displayed during phase 1



430
431
# File 'docs/4_Systems_300_Hall_of_fame.rb', line 430

def create_pokemon_text_boxes
end

#create_trainer_infos_text_box

Create the box containing the trainer texts displayed during phase 3



451
452
# File 'docs/4_Systems_300_Hall_of_fame.rb', line 451

def create_trainer_infos_text_box
end

#create_turning_ball

Create the turning ball that is displayed during phase 3



439
440
# File 'docs/4_Systems_300_Hall_of_fame.rb', line 439

def create_turning_ball
end

#create_type_background

Create the type background that is displayed during phase 1



418
419
# File 'docs/4_Systems_300_Hall_of_fame.rb', line 418

def create_type_background
end

#launch_animation(animation)

Launch the given animation

Parameters:



461
462
# File 'docs/4_Systems_300_Hall_of_fame.rb', line 461

def launch_animation(animation)
end

#parallel_animating

Update some parallel animation if the context demand it



464
465
# File 'docs/4_Systems_300_Hall_of_fame.rb', line 464

def parallel_animating
end

#pkm_cry_filenameString

Get the cry’s filename of the Pokemon at index equal to @anim_count

Returns:

  • (String)

    the filename of the cry



405
406
# File 'docs/4_Systems_300_Hall_of_fame.rb', line 405

def pkm_cry_filename
end

#play_music

Play the music, nothing else



401
402
# File 'docs/4_Systems_300_Hall_of_fame.rb', line 401

def play_music
end

#update_end_stars_anim

Update the final stars animation after phase 3



457
458
# File 'docs/4_Systems_300_Hall_of_fame.rb', line 457

def update_end_stars_anim
end

#update_graphics

Launch each phase of the animation then update the looping animations



412
413
# File 'docs/4_Systems_300_Hall_of_fame.rb', line 412

def update_graphics
end

#update_inputs

Update the inputs only at the end of the animation



533
534
# File 'docs/4_Systems_300_Hall_of_fame.rb', line 533

def update_inputs
end

#update_pokemon_stars_animation

Update the stars animation (only during phase 1, updated by launch_animation)



427
428
# File 'docs/4_Systems_300_Hall_of_fame.rb', line 427

def update_pokemon_stars_animation
end

#update_turning_ball

Update the turning ball animation during phase 3 and after



442
443
# File 'docs/4_Systems_300_Hall_of_fame.rb', line 442

def update_turning_ball
end