You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
456 B
17 lines
456 B
package lucifer3
|
|
|
|
import (
|
|
"git.aiterp.net/lucifer3/server/device"
|
|
"time"
|
|
)
|
|
|
|
type Effect interface {
|
|
// State uses three values:
|
|
// index: The position of this ID;
|
|
// len: The total length of the effect's IDs;
|
|
// round: Increases by one for each run of the effect if Frequency > 0;
|
|
// random: A random positive int in the full 31-bit range.
|
|
State(index, len, round, random int) device.State
|
|
Frequency() time.Duration
|
|
EffectDescription() string
|
|
}
|