Module: BattleUI::HideShow
- Included in:
- GenericChoice, PlayerChoice::ItemInfo, SkillChoice::MoveDescription
- Defined in:
- docs/5_Battle_01_Scene.rb
Overview
Module that implements the Hide & Show animation for each sprites/stacks of the UI
To work this module requires ‘animation_handler` to return a `Yuki::Animation::Handler` !
You can specify a ‘hide_show_duration` function to overwrite the duration of this animation
Instance Method Summary collapse
-
#animation_handler ⇒ Yuki::Animation::Handler{ Symbol => Yuki::Animation::TimedAnimation}
Get the animation handler.
-
#hide
Tell the element to hide from scene.
-
#show
Tell the element to show in the scene.
Instance Method Details
#animation_handler ⇒ Yuki::Animation::Handler{ Symbol => Yuki::Animation::TimedAnimation}
Get the animation handler
336 337 |
# File 'docs/5_Battle_01_Scene.rb', line 336 def show end |
#hide
Tell the element to hide from scene
339 340 |
# File 'docs/5_Battle_01_Scene.rb', line 339 def hide end |
#show
Tell the element to show in the scene
336 337 |
# File 'docs/5_Battle_01_Scene.rb', line 336 def show end |