Files
inkwell/pncdsl/scene.trigger.go
T
2026-05-25 18:09:51 +02:00

11 lines
237 B
Go

package pncdsl
// Trigger fires Do when its When condition first becomes true after the
// trigger arms (on scene enter). One-shot per scene visit by default.
type Trigger struct {
Name string
When Condition
Do Action
Once bool
}