nice feature: the microwave's sounds playback speed corresponds to the simulation speed, hahahaha
This commit is contained in:
parent
dd82b0433c
commit
710f7be68c
5 changed files with 82 additions and 35 deletions
|
|
@ -8,5 +8,5 @@ export type Plant<StateType> = {
|
|||
|
||||
initial: StateType;
|
||||
reduce: (inputEvent: RaisedEvent, state: StateType) => StateType;
|
||||
render: (state: StateType, raise: (event: RaisedEvent) => void) => ReactElement;
|
||||
render: (state: StateType, raise: (event: RaisedEvent) => void, timescale: number) => ReactElement;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue