Class: Yuki::Animation::UserBankRelativeAnimation
- Defined in:
- docs/5_Battle_20_MoveAnimation.rb
Overview
Class describing an animation that plays depending on the user's bank
Instance Attribute Summary
Attributes included from Yuki::AnimationMixin
Instance Method Summary collapse
-
#initialize(banks = nil) ⇒ UserBankRelativeAnimation
constructor
Create a new UserBankRelativeAnimation.
-
#play_before_on_bank(bank, other)
deprecated
Deprecated.
Inherits from bad practices
-
#start(begin_offset = 0) ⇒ self
Start the animation.
Methods inherited from Player
#animation_index, #done?, #duration, #first_start_time, #last_end_time, #parallel_add, #play, #resolver=, #root, #update
Methods included from Yuki::AnimationMixin
#begin_offset_for_next_animation, #done?, #duration, #update
Constructor Details
#initialize(banks = nil) ⇒ UserBankRelativeAnimation
Create a new UserBankRelativeAnimation
56 57 |
# File 'docs/5_Battle_20_MoveAnimation.rb', line 56 def initialize(banks = nil) end |
Instance Method Details
#play_before_on_bank(bank, other)
Deprecated.
Inherits from bad practices
59 60 |
# File 'docs/5_Battle_20_MoveAnimation.rb', line 59 def play_before_on_bank(bank, other) end |
#start(begin_offset = 0) ⇒ self
Start the animation
64 65 |
# File 'docs/5_Battle_20_MoveAnimation.rb', line 64 def start(begin_offset = 0) end |