Sha256: f730f092c40eee63defd2e5f94a257c5dc49c60ec5210f18301a68338838758c

Contents?: true

Size: 527 Bytes

Versions: 5

Compression:

Stored size: 527 Bytes

Contents

# actor used for particle emissions
Actor.define :emitter do
  # options:
  # delay: ms to wait between creating more particles
  # particle_actor: actor to spawn as particle
  # particle_opts: opts to be passed to the spawned particle
  # ttl: ms to live (optional, will live forever if omitted)
  # spawn_variance: dist in pixels to spawn away from emitter (default -10..10)
  # location_tween: tween object that will be used to move the emitter (optional)
  # follow: actor to follow (optional)
  has_behavior :emitting
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
gamebox-0.4.0.rc5 lib/gamebox/actors/emitter.rb
gamebox-0.4.0.rc4 lib/gamebox/actors/emitter.rb
gamebox-0.4.0.rc3 lib/gamebox/actors/emitter.rb
gamebox-0.4.0.rc2 lib/gamebox/actors/emitter.rb
gamebox-0.4.0.rc1 lib/gamebox/actors/emitter.rb