13 lines
279 B
Rust
13 lines
279 B
Rust
use common::{BulbPrefs, Param};
|
|
use lighter_lib::BulbId;
|
|
|
|
mod party;
|
|
mod waker;
|
|
pub use party::Party;
|
|
pub use waker::Waker;
|
|
|
|
pub trait LightScript {
|
|
fn get_params(&mut self, bulb: &BulbId) -> BulbPrefs;
|
|
fn set_param(&mut self, bulb: &BulbId, name: &str, value: Param);
|
|
}
|