Class: UI::MosaicAnimation
Overview
Handle the mosaic form change animation in the battle scene
Instance Method Summary collapse
-
#finish_mosaic
Finish the mosaic effect and restore the original shader.
-
#initialize(viewport, scene, target, target_sprite) ⇒ MosaicAnimation
constructor
Create a new MosaicAnimation.
-
#mosaic_animation ⇒ Yuki::AnimationMixin
Play the Mosaic animation.
-
#mosaic_level=(level)
Set the mosaic level on the shader.
-
#setup_mosaic(level = mosaic_level)
Setup the mosaic effect on the target sprite.
Constructor Details
#initialize(viewport, scene, target, target_sprite) ⇒ MosaicAnimation
Create a new MosaicAnimation
2742 2743 |
# File 'docs/5_Battle_02_Visual.rb', line 2742 def initialize(, scene, target, target_sprite) end |
Instance Method Details
#finish_mosaic
Finish the mosaic effect and restore the original shader
2757 2758 |
# File 'docs/5_Battle_02_Visual.rb', line 2757 def finish_mosaic end |
#mosaic_animation ⇒ Yuki::AnimationMixin
Play the Mosaic animation
2746 2747 |
# File 'docs/5_Battle_02_Visual.rb', line 2746 def mosaic_animation end |
#mosaic_level=(level)
Set the mosaic level on the shader
2754 2755 |
# File 'docs/5_Battle_02_Visual.rb', line 2754 def mosaic_level=(level) end |
#setup_mosaic(level = mosaic_level)
Setup the mosaic effect on the target sprite
2750 2751 |
# File 'docs/5_Battle_02_Visual.rb', line 2750 def setup_mosaic(level = mosaic_level) end |