Method: Chingu::Particle#initialize
- Defined in:
- lib/chingu/particle.rb
#initialize(options) ⇒ Particle
Returns a new instance of Particle.
10 11 12 13 |
# File 'lib/chingu/particle.rb', line 10 def initialize() super({:mode => :additive}.merge()) @animation = [:animation] || nil end |