Class: Wizrb::Lighting::Scenes::SpookyScene
- Defined in:
- lib/wizrb/lighting/scenes/spooky_scene.rb
Constant Summary collapse
- DEFAULT_STATE_EVENTS =
[ Wizrb::Shared::Events::PowerEvent.new(true), Wizrb::Lighting::Events::SetSpeedEvent.new(200), Wizrb::Lighting::Events::SetColorTempEvent.new(1000), Wizrb::Lighting::Events::SetBrightnessEvent.new(100) ].freeze
- BLACKOUT_EVENTS =
[ Wizrb::Shared::Events::PowerEvent.new(false) ].freeze
Instance Method Summary collapse
-
#initialize(group, sync: false) ⇒ SpookyScene
constructor
A new instance of SpookyScene.
Methods inherited from Scene
Constructor Details
#initialize(group, sync: false) ⇒ SpookyScene
Returns a new instance of SpookyScene.
20 21 22 23 |
# File 'lib/wizrb/lighting/scenes/spooky_scene.rb', line 20 def initialize(group, sync: false) @sync = sync super(group, stop_delay: 10) end |