nice feature: the microwave's sounds playback speed corresponds to the simulation speed, hahahaha

This commit is contained in:
Joeri Exelmans 2025-10-25 22:57:15 +02:00
parent dd82b0433c
commit 710f7be68c
5 changed files with 82 additions and 35 deletions

View file

@ -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;
}