Class: Yuki::Animation::HealingParticlePlayer

Inherits:
Player show all
Defined in:
docs/5_Battle_20_MoveAnimation.rb

Overview

Class that performs a healing particle animation

Instance Attribute Summary

Attributes included from Yuki::AnimationMixin

#player, #resolver

Instance Method Summary collapse

Methods inherited from Player

#animation_index, #done?, #duration, #first_start_time, #last_end_time, #parallel_add, #play, #resolver=, #root, #start, #update

Methods included from Yuki::AnimationMixin

#begin_offset_for_next_animation, #done?, #duration, #start, #update

Constructor Details

#initialize(sprite_id, properties) ⇒ HealingParticlePlayer

Create a HealingParticlePlayer.

Parameters:

  • sprite_id (Symbol)
  • properties (Hash)

Options Hash (properties):

  • :filename (String)
  • :on (Symbol)
  • :origin (Array<Integer>)
  • :offsets (Array<Float>)
  • :spawn_color (Array<Float>)
  • :up_color (Array<Float>)
  • :fade_color (Array<Float>)
  • :delta_y (Integer)
  • :zoom (Float)


150
151
# File 'docs/5_Battle_20_MoveAnimation.rb', line 150

def initialize(sprite_id, properties)
end