Sha256: eae8a46e5c7e15abe49235b4c168b1cedc70ffeeab6facbafecfd8caea4625e1
Contents?: true
Size: 422 Bytes
Versions: 1
Compression:
Stored size: 422 Bytes
Contents
module WSLight module Animation # Base class for all animations, defines common methods class BaseAnimation attr_accessor :set_from, :set_to, :type def initialize(set_from, set_to) @set_from = set_from @set_to = set_to end def frame_data(count) frame(count).collect(&:to_a).flatten end def frames_per_second 25.0 end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ws_light-0.4.2 | lib/ws_light/animation/base_animation.rb |