Class: Battle::Visual::Transition::Base
- Defined in:
- docs/5_Battle_02_Visual.rb
Overview
Base class of all transitions
Direct Known Subclasses
Instance Method Summary collapse
-
#dispose
Dispose the transition (safely clean all things that needs to be disposed).
-
#done? ⇒ Boolean
Tell if the transition is done.
-
#initialize(scene, screenshot) ⇒ Base
constructor
Create a new transition.
-
#pre_transition
Start the pre transition (fade in).
-
#start_actor_send_animation
Function that starts the Actor send animation.
-
#start_enemy_send_animation
Function that starts the Enemy send animation.
-
#transition
Start the transition (fade out).
-
#transition_battle_end
Start the transition.
-
#update
Update the transition.
Constructor Details
#initialize(scene, screenshot) ⇒ Base
Create a new transition
480 481 |
# File 'docs/5_Battle_02_Visual.rb', line 480 def initialize(scene, screenshot) end |
Instance Method Details
#dispose
Dispose the transition (safely clean all things that needs to be disposed)
490 491 |
# File 'docs/5_Battle_02_Visual.rb', line 490 def dispose end |
#done? ⇒ Boolean
Tell if the transition is done
487 488 |
# File 'docs/5_Battle_02_Visual.rb', line 487 def done? end |
#pre_transition
Start the pre transition (fade in)
-
Initialize all the sprites
-
Create all the pre-transition animations
-
Force Graphics transition if needed.
497 498 |
# File 'docs/5_Battle_02_Visual.rb', line 497 def pre_transition end |
#start_actor_send_animation
Function that starts the Actor send animation
514 515 |
# File 'docs/5_Battle_02_Visual.rb', line 514 def start_actor_send_animation end |
#start_enemy_send_animation
Function that starts the Enemy send animation
511 512 |
# File 'docs/5_Battle_02_Visual.rb', line 511 def start_enemy_send_animation end |
#transition
Start the transition (fade out)
-
Create all the transition animation
-
Add all the message to the animation
-
Add the send enemy Pokemon animation
-
Add the send actor Pokemon animation
505 506 |
# File 'docs/5_Battle_02_Visual.rb', line 505 def transition end |
#transition_battle_end
Start the transition
508 509 |
# File 'docs/5_Battle_02_Visual.rb', line 508 def transition_battle_end end |
#update
Update the transition
483 484 |
# File 'docs/5_Battle_02_Visual.rb', line 483 def update end |