Module: BattleUI::HideShow
- Included in:
- GenericChoice, PlayerChoice::ItemInfo, SkillChoice::MoveDescription, UI::ContestSkillChoice::ContestMoveDescription
- 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::AnimationMixin}
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::AnimationMixin}
Get the animation handler
423 424 |
# File 'docs/5_Battle_01_Scene.rb', line 423 def show end |
#hide
Tell the element to hide from scene
426 427 |
# File 'docs/5_Battle_01_Scene.rb', line 426 def hide end |
#show
Tell the element to show in the scene
423 424 |
# File 'docs/5_Battle_01_Scene.rb', line 423 def show end |