TModel¶
Under Construction
This documentation is auto-generated, and is a work in progress. Please see the source code at https://github.com/phetsims/joist/blob/main/js/TModel.ts for the most up-to-date information.
Overview¶
Type TModel¶
The model type for Sim.ts must have a reset function and if it has a step function, it must have this signature. See https://github.com/phetsims/joist/issues/861 for the origins and design history of TModel.
@author Sam Reid (PhET Interactive Simulations)
- step?: ( dt: number ) => void
- reset: () => void