Readonly
childrenChildren of this chip, if any
Readonly
outputOnce the chip is terminated, contains the signal
Readonly
stateCurrent state of the chip
Activate the chip, with a provided context and input signal. Should only be called from an inactive state
Optional
reloadMemento: ReloadMementoPause the chip, informing it that it won't receive ticks for a while
Resumes the chip after it was paused
Terminate the chip. Should only be called from an active or paused state
Optional
outputSignal: SignalUpdate the chip, provided a new time
Generated using TypeDoc
In Booyah, the game is structured as a tree of chips. This is the interface for all chips. When creating a new chip, you most likely want to extend ChipBase or Composite, which implement this interface and do the busywork for you.
Events: