Class: Battle::Visual::Transition::Base
- Defined in:
- docs/5_Battle_02_Visual.rb
Overview
Base class of all transitions
Direct Known Subclasses
Battle::Visual3D::Transition3D::Base, RBYTrainer, RBYWild, XYTrainer
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
662 663 |
# File 'docs/5_Battle_02_Visual.rb', line 662 def initialize(scene, screenshot) end |
Instance Method Details
#dispose
Dispose the transition (safely clean all things that needs to be disposed)
672 673 |
# File 'docs/5_Battle_02_Visual.rb', line 672 def dispose end |
#done? ⇒ Boolean
Tell if the transition is done
669 670 |
# File 'docs/5_Battle_02_Visual.rb', line 669 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.
679 680 |
# File 'docs/5_Battle_02_Visual.rb', line 679 def pre_transition end |
#start_actor_send_animation
Function that starts the Actor send animation
696 697 |
# File 'docs/5_Battle_02_Visual.rb', line 696 def start_actor_send_animation end |
#start_enemy_send_animation
Function that starts the Enemy send animation
693 694 |
# File 'docs/5_Battle_02_Visual.rb', line 693 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
687 688 |
# File 'docs/5_Battle_02_Visual.rb', line 687 def transition end |
#transition_battle_end
Start the transition
690 691 |
# File 'docs/5_Battle_02_Visual.rb', line 690 def transition_battle_end end |
#update
Update the transition
665 666 |
# File 'docs/5_Battle_02_Visual.rb', line 665 def update end |